﻿using CastingWellEquipmentGUI.Dao;
using CastingWellEquipmentGUI.Model;
using CastingWellEquipmentGUI.Utils;
using Confluent.Kafka;
using GalaSoft.MvvmLight;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Media;

namespace CastingWellEquipmentGUI.ViewModel.Pages
{
    public class AlarmQueryPageViewModel : ViewModelBase
    {
        private Thread TagInfoSyncThread;
        public AlarmQueryPageViewModel()
        {
            //绑定所有前台lable
            GetDicList();
            //开启线程，扫描kafka，接收报警变化
            TagInfoSyncThread = new Thread(SyncThreadFunc);
            TagInfoSyncThread.SetApartmentState(ApartmentState.STA);
            TagInfoSyncThread.IsBackground = true;
            TagInfoSyncThread.Start();

        }

        private void GetDicList()
        {
            string sql = "SELECT * FROM Meta_SubCondition  where Severity = 1  ORDER BY Message ";
            ObservableCollection<AlarmsModel> alarmList = DapperToolsGatewayServer.QueryOc<AlarmsModel>(sql);
            for (int i = 0; i < alarmList.Count; i++)
            {
                switch (i)
                {
                    case 0:
                        LbTxtFistAlarm1 = alarmList[i].Message1;
                        LbColourFistAlarm1 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm1,
                            Color = LbColourFistAlarm1

                        });
                        break;
                    case 1:
                        LbTxtFistAlarm2 = alarmList[i].Message1;
                        LbColourFistAlarm2 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm2,
                            Color = LbColourFistAlarm2

                        });
                        break;
                    case 2:
                        LbTxtFistAlarm3 = alarmList[i].Message1;
                        LbColourFistAlarm3 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm3,
                            Color = LbColourFistAlarm3

                        });
                        break;
                    case 3:
                        LbTxtFistAlarm4 = alarmList[i].Message1;
                        LbColourFistAlarm4 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm4,
                            Color = LbColourFistAlarm4

                        });
                        break;
                    case 4:
                        LbTxtFistAlarm5 = alarmList[i].Message1;
                        LbColourFistAlarm5 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm5,
                            Color = LbColourFistAlarm5

                        });
                        break;
                    case 5:
                        LbTxtFistAlarm6 = alarmList[i].Message1;
                        LbColourFistAlarm6 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm6,
                            Color = LbColourFistAlarm6

                        });
                        break;
                    case 6:
                        LbTxtFistAlarm7 = alarmList[i].Message1;
                        LbColourFistAlarm7 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm7,
                            Color = LbColourFistAlarm7

                        });
                        break;
                    case 7:
                        LbTxtFistAlarm8 = alarmList[i].Message1;
                        LbColourFistAlarm8 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm8,
                            Color = LbColourFistAlarm8

                        });
                        break;
                    case 8:
                        LbTxtFistAlarm9 = alarmList[i].Message1;
                        LbColourFistAlarm9 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm9,
                            Color = LbColourFistAlarm9

                        });
                        break;
                    case 9:
                        LbTxtFistAlarm10 = alarmList[i].Message1;
                        LbColourFistAlarm10 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm10,
                            Color = LbColourFistAlarm10

                        });
                        break;
                    case 10:
                        LbTxtFistAlarm11 = alarmList[i].Message1;
                        LbColourFistAlarm11 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm11,
                            Color = LbColourFistAlarm11

                        });
                        break;
                    case 11:
                        LbTxtFistAlarm12 = alarmList[i].Message1;
                        LbColourFistAlarm12 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm12,
                            Color = LbColourFistAlarm12

                        });
                        break;
                    case 12:
                        LbTxtFistAlarm13 = alarmList[i].Message1;
                        LbColourFistAlarm13 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm13,
                            Color = LbColourFistAlarm13

                        });
                        break;
                    case 13:
                        LbTxtFistAlarm14 = alarmList[i].Message1;
                        LbColourFistAlarm14 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm14,
                            Color = LbColourFistAlarm14

                        });
                        break;
                    case 14:
                        LbTxtFistAlarm15 = alarmList[i].Message1;
                        LbColourFistAlarm15 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm15,
                            Color = LbColourFistAlarm15

                        });
                        break;
                    case 15:
                        LbTxtFistAlarm16 = alarmList[i].Message1;
                        LbColourFistAlarm16 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm16,
                            Color = LbColourFistAlarm16

                        });
                        break;
                    case 16:
                        LbTxtFistAlarm17 = alarmList[i].Message1;
                        LbColourFistAlarm17 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm17,
                            Color = LbColourFistAlarm17

                        });
                        break;
                    case 17:
                        LbTxtFistAlarm18 = alarmList[i].Message1;
                        LbColourFistAlarm18 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm18,
                            Color = LbColourFistAlarm18

                        });
                        break;
                    case 18:
                        LbTxtFistAlarm19 = alarmList[i].Message1;
                        LbColourFistAlarm19 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm19,
                            Color = LbColourFistAlarm19

                        });
                        break;
                    case 19:
                        LbTxtFistAlarm20 = alarmList[i].Message1;
                        LbColourFistAlarm20 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm20,
                            Color = LbColourFistAlarm20

                        });
                        break;
                    case 20:
                        LbTxtFistAlarm21 = alarmList[i].Message1;
                        LbColourFistAlarm21 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm21,
                            Color = LbColourFistAlarm21

                        });
                        break;
                    case 21:
                        LbTxtFistAlarm22 = alarmList[i].Message1;
                        LbColourFistAlarm22 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm22,
                            Color = LbColourFistAlarm22

                        });
                        break;
                    case 22:
                        LbTxtFistAlarm23 = alarmList[i].Message1;
                        LbColourFistAlarm23 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm23,
                            Color = LbColourFistAlarm23

                        });
                        break;
                    case 23:
                        LbTxtFistAlarm24 = alarmList[i].Message1;
                        LbColourFistAlarm24 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm24,
                            Color = LbColourFistAlarm24

                        });
                        break;
                    case 24:
                        LbTxtFistAlarm25 = alarmList[i].Message1;
                        LbColourFistAlarm25 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm25,
                            Color = LbColourFistAlarm25

                        });
                        break;
                    case 25:
                        LbTxtFistAlarm26 = alarmList[i].Message1;
                        LbColourFistAlarm26 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm26,
                            Color = LbColourFistAlarm26

                        });
                        break;
                    case 26:
                        LbTxtFistAlarm27 = alarmList[i].Message1;
                        LbColourFistAlarm27 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm27,
                            Color = LbColourFistAlarm27

                        });
                        break;
                    case 27:
                        LbTxtFistAlarm28 = alarmList[i].Message1;
                        LbColourFistAlarm28 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm28,
                            Color = LbColourFistAlarm28

                        });
                        break;
                    case 28:
                        LbTxtFistAlarm29 = alarmList[i].Message1;
                        LbColourFistAlarm29 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm29,
                            Color = LbColourFistAlarm29

                        });
                        break;
                    case 29:
                        LbTxtFistAlarm30 = alarmList[i].Message1;
                        LbColourFistAlarm30 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm30,
                            Color = LbColourFistAlarm30

                        });
                        break;
                    case 30:
                        LbTxtFistAlarm31 = alarmList[i].Message1;
                        LbColourFistAlarm31 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm31,
                            Color = LbColourFistAlarm31

                        });
                        break;
                    case 31:
                        LbTxtFistAlarm32 = alarmList[i].Message1;
                        LbColourFistAlarm32 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm32,
                            Color = LbColourFistAlarm32

                        });
                        break;
                    case 32:
                        LbTxtFistAlarm33 = alarmList[i].Message1;
                        LbColourFistAlarm33 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm33,
                            Color = LbColourFistAlarm33

                        });
                        break;
                    case 33:
                        LbTxtFistAlarm34 = alarmList[i].Message1;
                        LbColourFistAlarm34 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm34,
                            Color = LbColourFistAlarm34

                        });
                        break;
                    case 34:
                        LbTxtFistAlarm35 = alarmList[i].Message1;
                        LbColourFistAlarm35 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm35,
                            Color = LbColourFistAlarm35

                        });
                        break;
                    case 35:
                        LbTxtFistAlarm36 = alarmList[i].Message1;
                        LbColourFistAlarm36 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm36,
                            Color = LbColourFistAlarm36

                        });
                        break;
                    case 36:
                        LbTxtFistAlarm37 = alarmList[i].Message1;
                        LbColourFistAlarm37 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm37,
                            Color = LbColourFistAlarm37

                        });
                        break;
                    case 37:
                        LbTxtFistAlarm38 = alarmList[i].Message1;
                        LbColourFistAlarm38 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm38,
                            Color = LbColourFistAlarm38

                        });
                        break;
                    case 38:
                        LbTxtFistAlarm39 = alarmList[i].Message1;
                        LbColourFistAlarm39 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm39,
                            Color = LbColourFistAlarm39

                        });
                        break;
                    case 39:
                        LbTxtFistAlarm40 = alarmList[i].Message1;
                        LbColourFistAlarm40 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm40,
                            Color = LbColourFistAlarm40

                        });
                        break;
                    case 40:
                        LbTxtFistAlarm41 = alarmList[i].Message1;
                        LbColourFistAlarm41 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm41,
                            Color = LbColourFistAlarm41

                        });
                        break;
                    case 41:
                        LbTxtFistAlarm42 = alarmList[i].Message1;
                        LbColourFistAlarm42 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm42,
                            Color = LbColourFistAlarm42

                        });
                        break;
                    case 42:
                        LbTxtFistAlarm43 = alarmList[i].Message1;
                        LbColourFistAlarm43 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm43,
                            Color = LbColourFistAlarm43

                        });
                        break;
                    case 43:
                        LbTxtFistAlarm44 = alarmList[i].Message1;
                        LbColourFistAlarm44 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm44,
                            Color = LbColourFistAlarm44

                        });
                        break;
                    case 44:
                        LbTxtFistAlarm45 = alarmList[i].Message1;
                        LbColourFistAlarm45 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm45,
                            Color = LbColourFistAlarm45

                        });
                        break;
                    case 45:
                        LbTxtFistAlarm46 = alarmList[i].Message1;
                        LbColourFistAlarm46 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm46,
                            Color = LbColourFistAlarm46

                        });
                        break;
                    case 46:
                        LbTxtFistAlarm47 = alarmList[i].Message1;
                        LbColourFistAlarm47 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm47,
                            Color = LbColourFistAlarm47

                        });
                        break;
                    case 47:
                        LbTxtFistAlarm48 = alarmList[i].Message1;
                        LbColourFistAlarm48 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm48,
                            Color = LbColourFistAlarm48

                        });
                        break;
                    case 48:
                        LbTxtFistAlarm49 = alarmList[i].Message1;
                        LbColourFistAlarm49 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm49,
                            Color = LbColourFistAlarm49

                        });
                        break;
                    case 49:
                        LbTxtFistAlarm50 = alarmList[i].Message1;
                        LbColourFistAlarm50 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm50,
                            Color = LbColourFistAlarm50

                        });
                        break;
                    case 50:
                        LbTxtFistAlarm51 = alarmList[i].Message1;
                        LbColourFistAlarm51 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm51,
                            Color = LbColourFistAlarm51

                        });
                        break;
                    case 51:
                        LbTxtFistAlarm52 = alarmList[i].Message1;
                        LbColourFistAlarm52 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm52,
                            Color = LbColourFistAlarm52

                        });
                        break;
                    case 52:
                        LbTxtFistAlarm53 = alarmList[i].Message1;
                        LbColourFistAlarm53 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm53,
                            Color = LbColourFistAlarm53

                        });
                        break;
                    case 53:
                        LbTxtFistAlarm54 = alarmList[i].Message1;
                        LbColourFistAlarm54 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm54,
                            Color = LbColourFistAlarm54

                        });
                        break;
                    case 54:
                        LbTxtFistAlarm55 = alarmList[i].Message1;
                        LbColourFistAlarm55 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm55,
                            Color = LbColourFistAlarm55

                        });
                        break;
                    case 55:
                        LbTxtFistAlarm56 = alarmList[i].Message1;
                        LbColourFistAlarm56 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm56,
                            Color = LbColourFistAlarm56

                        });
                        break;
                    case 56:
                        LbTxtFistAlarm57 = alarmList[i].Message1;
                        LbColourFistAlarm57 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm57,
                            Color = LbColourFistAlarm57

                        });
                        break;
                    case 57:
                        LbTxtFistAlarm58 = alarmList[i].Message1;
                        LbColourFistAlarm58 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm58,
                            Color = LbColourFistAlarm58

                        });
                        break;
                    case 58:
                        LbTxtFistAlarm59 = alarmList[i].Message1;
                        LbColourFistAlarm59 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm59,
                            Color = LbColourFistAlarm59

                        });
                        break;
                    case 59:
                        LbTxtFistAlarm60 = alarmList[i].Message1;
                        LbColourFistAlarm60 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm60,
                            Color = LbColourFistAlarm60

                        });
                        break;
                    case 60:
                        LbTxtFistAlarm61 = alarmList[i].Message1;
                        LbColourFistAlarm61 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm61,
                            Color = LbColourFistAlarm61

                        });
                        break;
                    case 61:
                        LbTxtFistAlarm62 = alarmList[i].Message1;
                        LbColourFistAlarm62 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm62,
                            Color = LbColourFistAlarm62

                        });
                        break;
                    case 62:
                        LbTxtFistAlarm63 = alarmList[i].Message1;
                        LbColourFistAlarm63 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm63,
                            Color = LbColourFistAlarm63

                        });
                        break;
                    case 63:
                        LbTxtFistAlarm64 = alarmList[i].Message1;
                        LbColourFistAlarm64 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm64,
                            Color = LbColourFistAlarm64

                        });
                        break;
                    case  64:
                        LbTxtFistAlarm65 = alarmList[i].Message1;
                        LbColourFistAlarm65 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm65,
                            Color = LbColourFistAlarm65

                        });
                        break;
                    case 65:
                        LbTxtFistAlarm66 = alarmList[i].Message1;
                        LbColourFistAlarm66 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm66,
                            Color = LbColourFistAlarm66

                        });
                        break;
                    case 66:
                        LbTxtFistAlarm67 = alarmList[i].Message1;
                        LbColourFistAlarm67 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm67,
                            Color = LbColourFistAlarm67

                        });
                        break;
                    case 67:
                        LbTxtFistAlarm68 = alarmList[i].Message1;
                        LbColourFistAlarm68 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm68,
                            Color = LbColourFistAlarm68

                        });
                        break;
                    case 68:
                        LbTxtFistAlarm69 = alarmList[i].Message1;
                        LbColourFistAlarm69 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm69,
                            Color = LbColourFistAlarm69

                        });
                        break;
                    case 69:
                        LbTxtFistAlarm70 = alarmList[i].Message1;
                        LbColourFistAlarm70 = Brushes.Black;
                        AllCon.Add(alarmList[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtFistAlarm70,
                            Color = LbColourFistAlarm70

                        });
                        break;
                    default:
                        break;
                }
            
            }
            string sql1 = "SELECT * FROM Meta_SubCondition  where Severity = 2  ORDER BY Message ";
            ObservableCollection<AlarmsModel> alarmList1 = DapperToolsGatewayServer.QueryOc<AlarmsModel>(sql1);
         
            for (int i = 0; i < alarmList1.Count; i++)
            {
                switch (i)
                {
                    case 0:
                        LbTxtSecondAlarm1 = alarmList1[i].Message1;
                        LbColourSecondAlarm1 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm1,
                            Color = LbColourSecondAlarm1

                        });
                        break;
                    case 1:
                        LbTxtSecondAlarm2 = alarmList1[i].Message1;
                        LbColourSecondAlarm2 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm2,
                            Color = LbColourSecondAlarm2

                        });
                        break;
                    case 2:
                        LbTxtSecondAlarm3 = alarmList1[i].Message1;
                        LbColourSecondAlarm3 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm3,
                            Color = LbColourSecondAlarm3

                        });
                        break;
                    case 3:
                        LbTxtSecondAlarm4 = alarmList1[i].Message1;
                        LbColourSecondAlarm4 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm4,
                            Color = LbColourSecondAlarm4

                        });
                        break;
                    case 4:
                        LbTxtSecondAlarm5 = alarmList1[i].Message1;
                        LbColourSecondAlarm5 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm5,
                            Color = LbColourSecondAlarm5

                        });
                        break;
                    case 5:
                        LbTxtSecondAlarm6 = alarmList1[i].Message1;
                        LbColourSecondAlarm6 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm6,
                            Color = LbColourSecondAlarm6

                        });
                        break;
                    case 6:
                        LbTxtSecondAlarm7 = alarmList1[i].Message1;
                        LbColourSecondAlarm7 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm7,
                            Color = LbColourSecondAlarm7

                        });
                        break;
                    case 7:
                        LbTxtSecondAlarm8 = alarmList1[i].Message1;
                        LbColourSecondAlarm8 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm8,
                            Color = LbColourSecondAlarm8

                        });
                        break;
                    case 8:
                        LbTxtSecondAlarm9 = alarmList1[i].Message1;
                        LbColourSecondAlarm9 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm9,
                            Color = LbColourSecondAlarm9

                        });
                        break;
                    case 9:
                        LbTxtSecondAlarm10 = alarmList1[i].Message1;
                        LbColourSecondAlarm10 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm10,
                            Color = LbColourSecondAlarm10

                        });
                        break;
                    case 10:
                        LbTxtSecondAlarm11 = alarmList1[i].Message1;
                        LbColourSecondAlarm11 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm11,
                            Color = LbColourSecondAlarm11

                        });
                        break;
                    case 11:
                        LbTxtSecondAlarm12 = alarmList1[i].Message1;
                        LbColourSecondAlarm12 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm12,
                            Color = LbColourSecondAlarm12

                        });
                        break;
                    case 12:
                        LbTxtSecondAlarm13 = alarmList1[i].Message1;
                        LbColourSecondAlarm13 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm13,
                            Color = LbColourSecondAlarm13

                        });
                        break;
                    case 13:
                        LbTxtSecondAlarm14 = alarmList1[i].Message1;
                        LbColourSecondAlarm14 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm14,
                            Color = LbColourSecondAlarm14

                        });
                        break;
                    case 14:
                        LbTxtSecondAlarm15 = alarmList1[i].Message1;
                        LbColourSecondAlarm15 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm15,
                            Color = LbColourSecondAlarm15

                        });
                        break;
                    case 15:
                        LbTxtSecondAlarm16 = alarmList1[i].Message1;
                        LbColourSecondAlarm16 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm16,
                            Color = LbColourSecondAlarm16

                        });
                        break;
                    case 16:
                        LbTxtSecondAlarm17 = alarmList1[i].Message1;
                        LbColourSecondAlarm17 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm17,
                            Color = LbColourSecondAlarm17

                        });
                        break;
                    case 17:
                        LbTxtSecondAlarm18 = alarmList1[i].Message1;
                        LbColourSecondAlarm18 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm18,
                            Color = LbColourSecondAlarm18

                        });
                        break;
                    case 18:
                        LbTxtSecondAlarm19 = alarmList1[i].Message1;
                        LbColourSecondAlarm19 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm19,
                            Color = LbColourSecondAlarm19

                        });
                        break;
                    case 19:
                        LbTxtSecondAlarm20 = alarmList1[i].Message1;
                        LbColourSecondAlarm20 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm20,
                            Color = LbColourSecondAlarm20

                        });
                        break;
                    case 20:
                        LbTxtSecondAlarm21 = alarmList1[i].Message1;
                        LbColourSecondAlarm21 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm21,
                            Color = LbColourSecondAlarm21

                        });
                        break;
                    case 21:
                        LbTxtSecondAlarm22 = alarmList1[i].Message1;
                        LbColourSecondAlarm22 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm22,
                            Color = LbColourSecondAlarm22

                        });
                        break;
                    case 22:
                        LbTxtSecondAlarm23 = alarmList1[i].Message1;
                        LbColourSecondAlarm23 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm23,
                            Color = LbColourSecondAlarm23

                        });
                        break;
                    case 23:
                        LbTxtSecondAlarm24 = alarmList1[i].Message1;
                        LbColourSecondAlarm24 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm24,
                            Color = LbColourSecondAlarm24

                        });
                        break;
                    case 24:
                        LbTxtSecondAlarm25 = alarmList1[i].Message1;
                        LbColourSecondAlarm25 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm25,
                            Color = LbColourSecondAlarm25

                        });
                        break;
                    case 25:
                        LbTxtSecondAlarm26 = alarmList1[i].Message1;
                        LbColourSecondAlarm26 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm26,
                            Color = LbColourSecondAlarm26

                        });
                        break;
                    case 26:
                        LbTxtSecondAlarm27 = alarmList1[i].Message1;
                        LbColourSecondAlarm27 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm27,
                            Color = LbColourSecondAlarm27

                        });
                        break;
                    case 27:
                        LbTxtSecondAlarm28 = alarmList1[i].Message1;
                        LbColourSecondAlarm28 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm28,
                            Color = LbColourSecondAlarm28

                        });
                        break;
                    case 28:
                        LbTxtSecondAlarm29 = alarmList1[i].Message1;
                        LbColourSecondAlarm29 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm29,
                            Color = LbColourSecondAlarm29

                        });
                        break;
                    case 29:
                        LbTxtSecondAlarm30 = alarmList1[i].Message1;
                        LbColourSecondAlarm30 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm30,
                            Color = LbColourSecondAlarm30

                        });
                        break;
                    case 30:
                        LbTxtSecondAlarm31 = alarmList1[i].Message1;
                        LbColourSecondAlarm31 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm31,
                            Color = LbColourSecondAlarm31

                        });
                        break;
                    case 31:
                        LbTxtSecondAlarm32 = alarmList1[i].Message1;
                        LbColourSecondAlarm32 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm32,
                            Color = LbColourSecondAlarm32

                        });
                        break;
                    case 32:
                        LbTxtSecondAlarm33 = alarmList1[i].Message1;
                        LbColourSecondAlarm33 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm33,
                            Color = LbColourSecondAlarm33

                        });
                        break;
                    case 33:
                        LbTxtSecondAlarm34 = alarmList1[i].Message1;
                        LbColourSecondAlarm34 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm34,
                            Color = LbColourSecondAlarm34

                        });
                        break;
                    case 34:
                        LbTxtSecondAlarm35 = alarmList1[i].Message1;
                        LbColourSecondAlarm35 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm35,
                            Color = LbColourSecondAlarm35

                        });
                        break;
                    case 35:
                        LbTxtSecondAlarm36 = alarmList1[i].Message1;
                        LbColourSecondAlarm36 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm36,
                            Color = LbColourSecondAlarm36

                        });
                        break;
                    case 36:
                        LbTxtSecondAlarm37 = alarmList1[i].Message1;
                        LbColourSecondAlarm37 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm37,
                            Color = LbColourSecondAlarm37

                        });
                        break;
                    case 37:
                        LbTxtSecondAlarm38 = alarmList1[i].Message1;
                        LbColourSecondAlarm38 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm38,
                            Color = LbColourSecondAlarm38

                        });
                        break;
                    case 38:
                        LbTxtSecondAlarm39 = alarmList1[i].Message1;
                        LbColourSecondAlarm39 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm39,
                            Color = LbColourSecondAlarm39

                        });
                        break;
                    case 39:
                        LbTxtSecondAlarm40 = alarmList1[i].Message1;
                        LbColourSecondAlarm40 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm40,
                            Color = LbColourSecondAlarm40

                        });
                        break;
                    case 40:
                        LbTxtSecondAlarm41 = alarmList1[i].Message1;
                        LbColourSecondAlarm41 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm41,
                            Color = LbColourSecondAlarm41

                        });
                        break;
                    case 41:
                        LbTxtSecondAlarm42 = alarmList1[i].Message1;
                        LbColourSecondAlarm42 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm42,
                            Color = LbColourSecondAlarm42

                        });
                        break;
                    case 42:
                        LbTxtSecondAlarm43 = alarmList1[i].Message1;
                        LbColourSecondAlarm43 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm43,
                            Color = LbColourSecondAlarm43

                        });
                        break;
                    case 43:
                        LbTxtSecondAlarm44 = alarmList1[i].Message1;
                        LbColourSecondAlarm44 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm44,
                            Color = LbColourSecondAlarm44

                        });
                        break;
                    case 44:
                        LbTxtSecondAlarm45 = alarmList1[i].Message1;
                        LbColourSecondAlarm45 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm45,
                            Color = LbColourSecondAlarm45

                        });
                        break;
                    case 45:
                        LbTxtSecondAlarm46 = alarmList1[i].Message1;
                        LbColourSecondAlarm46 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm46,
                            Color = LbColourSecondAlarm46

                        });
                        break;
                    case 46:
                        LbTxtSecondAlarm47 = alarmList1[i].Message1;
                        LbColourSecondAlarm47 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm47,
                            Color = LbColourSecondAlarm47

                        });
                        break;
                    case 47:
                        LbTxtSecondAlarm48 = alarmList1[i].Message1;
                        LbColourSecondAlarm48 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm48,
                            Color = LbColourSecondAlarm48

                        });
                        break;
                    case 48:
                        LbTxtSecondAlarm49 = alarmList1[i].Message1;
                        LbColourSecondAlarm49 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm49,
                            Color = LbColourSecondAlarm49

                        });
                        break;
                    case 49:
                        LbTxtSecondAlarm50 = alarmList1[i].Message1;
                        LbColourSecondAlarm50 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm50,
                            Color = LbColourSecondAlarm50

                        });
                        break;
                    case 50:
                        LbTxtSecondAlarm51 = alarmList1[i].Message1;
                        LbColourSecondAlarm51 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm51,
                            Color = LbColourSecondAlarm51

                        });
                        break;
                    case 51:
                        LbTxtSecondAlarm52 = alarmList1[i].Message1;
                        LbColourSecondAlarm52 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm52,
                            Color = LbColourSecondAlarm52

                        });
                        break;
                    case 52:
                        LbTxtSecondAlarm53 = alarmList1[i].Message1;
                        LbColourSecondAlarm53 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm53,
                            Color = LbColourSecondAlarm53

                        });
                        break;
                    case 53:
                        LbTxtSecondAlarm54 = alarmList1[i].Message1;
                        LbColourSecondAlarm54 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm54,
                            Color = LbColourSecondAlarm54

                        });
                        break;
                    case 54:
                        LbTxtSecondAlarm55 = alarmList1[i].Message1;
                        LbColourSecondAlarm55 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm55,
                            Color = LbColourSecondAlarm55

                        });
                        break;
                    case 55:
                        LbTxtSecondAlarm56 = alarmList1[i].Message1;
                        LbColourSecondAlarm56 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm56,
                            Color = LbColourSecondAlarm56

                        });
                        break;
                    case 56:
                        LbTxtSecondAlarm57 = alarmList1[i].Message1;
                        LbColourSecondAlarm57 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm57,
                            Color = LbColourSecondAlarm57

                        });
                        break;
                    case 57:
                        LbTxtSecondAlarm58 = alarmList1[i].Message1;
                        LbColourSecondAlarm58 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm58,
                            Color = LbColourSecondAlarm58

                        });
                        break;
                    case 58:
                        LbTxtSecondAlarm59 = alarmList1[i].Message1;
                        LbColourSecondAlarm59 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm59,
                            Color = LbColourSecondAlarm59

                        });
                        break;
                    case 59:
                        LbTxtSecondAlarm60 = alarmList1[i].Message1;
                        LbColourSecondAlarm60 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm60,
                            Color = LbColourSecondAlarm60

                        });
                        break;
                    case 60:
                        LbTxtSecondAlarm61 = alarmList1[i].Message1;
                        LbColourSecondAlarm61 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm61,
                            Color = LbColourSecondAlarm61

                        });
                        break;
                    case 61:
                        LbTxtSecondAlarm62 = alarmList1[i].Message1;
                        LbColourSecondAlarm62 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm62,
                            Color = LbColourSecondAlarm62

                        });
                        break;
                    case 62:
                        LbTxtSecondAlarm63 = alarmList1[i].Message1;
                        LbColourSecondAlarm63 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm63,
                            Color = LbColourSecondAlarm63

                        });
                        break;
                    case 63:
                        LbTxtSecondAlarm64 = alarmList1[i].Message1;
                        LbColourSecondAlarm64 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm64,
                            Color = LbColourSecondAlarm64

                        });
                        break;
                    case 64:
                        LbTxtSecondAlarm65 = alarmList1[i].Message1;
                        LbColourSecondAlarm65 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm65,
                            Color = LbColourSecondAlarm65

                        });
                        break;
                    case 65:
                        LbTxtSecondAlarm66 = alarmList1[i].Message1;
                        LbColourSecondAlarm66 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm66,
                            Color = LbColourSecondAlarm66

                        });
                        break;
                    case 66:
                        LbTxtSecondAlarm67 = alarmList1[i].Message1;
                        LbColourSecondAlarm67 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm67,
                            Color = LbColourSecondAlarm67

                        });
                        break;
                    case 67:
                        LbTxtSecondAlarm68 = alarmList1[i].Message1;
                        LbColourSecondAlarm68 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm68,
                            Color = LbColourSecondAlarm68

                        });
                        break;
                    case 68:
                        LbTxtSecondAlarm69 = alarmList1[i].Message1;
                        LbColourSecondAlarm69 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm69,
                            Color = LbColourSecondAlarm69

                        });
                        break;
                    case 69:
                        LbTxtSecondAlarm70 = alarmList1[i].Message1;
                        LbColourSecondAlarm70 = Brushes.Black;
                        AllCon.Add(alarmList1[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtSecondAlarm70,
                            Color = LbColourSecondAlarm70

                        });
                        break;
                    default:
                        break;
                }

            }
            string sql2 = "SELECT * FROM Meta_SubCondition  where Severity = 3  ORDER BY Message ";
            ObservableCollection<AlarmsModel> alarmList2 = DapperToolsGatewayServer.QueryOc<AlarmsModel>(sql2);
            for (int i = 0; i < alarmList2.Count; i++)
            {
                switch (i)
                {
                    case 0:
                        LbTxtThirdAlarm1 = alarmList2[i].Message1;
                        LbColourThirdAlarm1 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm1,
                            Color = LbColourThirdAlarm1

                        });
                        break;
                    case 1:
                        LbTxtThirdAlarm2 = alarmList2[i].Message1;
                        LbColourThirdAlarm2 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm2,
                            Color = LbColourThirdAlarm2

                        });
                        break;
                    case 2:
                        LbTxtThirdAlarm3 = alarmList2[i].Message1;
                        LbColourThirdAlarm3 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm3,
                            Color = LbColourThirdAlarm3

                        });
                        break;
                    case 3:
                        LbTxtThirdAlarm4 = alarmList2[i].Message1;
                        LbColourThirdAlarm4 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm4,
                            Color = LbColourThirdAlarm4

                        });
                        break;
                    case 4:
                        LbTxtThirdAlarm5 = alarmList2[i].Message1;
                        LbColourThirdAlarm5 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm5,
                            Color = LbColourThirdAlarm5

                        });
                        break;
                    case 5:
                        LbTxtThirdAlarm6 = alarmList2[i].Message1;
                        LbColourThirdAlarm6 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm6,
                            Color = LbColourThirdAlarm6

                        });
                        break;
                    case 6:
                        LbTxtThirdAlarm7 = alarmList2[i].Message1;
                        LbColourThirdAlarm7 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm7,
                            Color = LbColourThirdAlarm7

                        });
                        break;
                    case 7:
                        LbTxtThirdAlarm8 = alarmList2[i].Message1;
                        LbColourThirdAlarm8 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm8,
                            Color = LbColourThirdAlarm8

                        });
                        break;
                    case 8:
                        LbTxtThirdAlarm9 = alarmList2[i].Message1;
                        LbColourThirdAlarm9 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm9,
                            Color = LbColourThirdAlarm9

                        });
                        break;
                    case 9:
                        LbTxtThirdAlarm10 = alarmList2[i].Message1;
                        LbColourThirdAlarm10 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm10,
                            Color = LbColourThirdAlarm10

                        });
                        break;
                    case 10:
                        LbTxtThirdAlarm11 = alarmList2[i].Message1;
                        LbColourThirdAlarm11 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm11,
                            Color = LbColourThirdAlarm11

                        });
                        break;
                    case 11:
                        LbTxtThirdAlarm12 = alarmList2[i].Message1;
                        LbColourThirdAlarm12 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm12,
                            Color = LbColourThirdAlarm12

                        });
                        break;
                    case 12:
                        LbTxtThirdAlarm13 = alarmList2[i].Message1;
                        LbColourThirdAlarm13 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm13,
                            Color = LbColourThirdAlarm13

                        });
                        break;
                    case 13:
                        LbTxtThirdAlarm14 = alarmList2[i].Message1;
                        LbColourThirdAlarm14 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm14,
                            Color = LbColourThirdAlarm14

                        });
                        break;
                    case 14:
                        LbTxtThirdAlarm15 = alarmList2[i].Message1;
                        LbColourThirdAlarm15 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm15,
                            Color = LbColourThirdAlarm15

                        });
                        break;
                    case 15:
                        LbTxtThirdAlarm16 = alarmList2[i].Message1;
                        LbColourThirdAlarm16 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm16,
                            Color = LbColourThirdAlarm16

                        });
                        break;
                    case 16:
                        LbTxtThirdAlarm17 = alarmList2[i].Message1;
                        LbColourThirdAlarm17 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm17,
                            Color = LbColourThirdAlarm17

                        });
                        break;
                    case 17:
                        LbTxtThirdAlarm18 = alarmList2[i].Message1;
                        LbColourThirdAlarm18 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm18,
                            Color = LbColourThirdAlarm18

                        });
                        break;
                    case 18:
                        LbTxtThirdAlarm19 = alarmList2[i].Message1;
                        LbColourThirdAlarm19 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm19,
                            Color = LbColourThirdAlarm19

                        });
                        break;
                    case 19:
                        LbTxtThirdAlarm20 = alarmList2[i].Message1;
                        LbColourThirdAlarm20 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm20,
                            Color = LbColourThirdAlarm20

                        });
                        break;
                    case 20:
                        LbTxtThirdAlarm21 = alarmList2[i].Message1;
                        LbColourThirdAlarm21 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm21,
                            Color = LbColourThirdAlarm21

                        });
                        break;
                    case 21:
                        LbTxtThirdAlarm22 = alarmList2[i].Message1;
                        LbColourThirdAlarm22 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm22,
                            Color = LbColourThirdAlarm22

                        });
                        break;
                    case 22:
                        LbTxtThirdAlarm23 = alarmList2[i].Message1;
                        LbColourThirdAlarm23 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm23,
                            Color = LbColourThirdAlarm23

                        });
                        break;
                    case 23:
                        LbTxtThirdAlarm24 = alarmList2[i].Message1;
                        LbColourThirdAlarm24 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm24,
                            Color = LbColourThirdAlarm24

                        });
                        break;
                    case 24:
                        LbTxtThirdAlarm25 = alarmList2[i].Message1;
                        LbColourThirdAlarm25 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm25,
                            Color = LbColourThirdAlarm25

                        });
                        break;
                    case 25:
                        LbTxtThirdAlarm26 = alarmList2[i].Message1;
                        LbColourThirdAlarm26 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm26,
                            Color = LbColourThirdAlarm26

                        });
                        break;
                    case 26:
                        LbTxtThirdAlarm27 = alarmList2[i].Message1;
                        LbColourThirdAlarm27 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm27,
                            Color = LbColourThirdAlarm27

                        });
                        break;
                    case 27:
                        LbTxtThirdAlarm28 = alarmList2[i].Message1;
                        LbColourThirdAlarm28 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm28,
                            Color = LbColourThirdAlarm28

                        });
                        break;
                    case 28:
                        LbTxtThirdAlarm29 = alarmList2[i].Message1;
                        LbColourThirdAlarm29 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm29,
                            Color = LbColourThirdAlarm29

                        });
                        break;
                    case 29:
                        LbTxtThirdAlarm30 = alarmList2[i].Message1;
                        LbColourThirdAlarm30 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm30,
                            Color = LbColourThirdAlarm30

                        });
                        break;
                    case 30:
                        LbTxtThirdAlarm31 = alarmList2[i].Message1;
                        LbColourThirdAlarm31 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm31,
                            Color = LbColourThirdAlarm31

                        });
                        break;
                    case 31:
                        LbTxtThirdAlarm32 = alarmList2[i].Message1;
                        LbColourThirdAlarm32 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm32,
                            Color = LbColourThirdAlarm32

                        });
                        break;
                    case 32:
                        LbTxtThirdAlarm33 = alarmList2[i].Message1;
                        LbColourThirdAlarm33 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm33,
                            Color = LbColourThirdAlarm33

                        });
                        break;
                    case 33:
                        LbTxtThirdAlarm34 = alarmList2[i].Message1;
                        LbColourThirdAlarm34 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm34,
                            Color = LbColourThirdAlarm34

                        });
                        break;
                    case 34:
                        LbTxtThirdAlarm35 = alarmList2[i].Message1;
                        LbColourThirdAlarm35 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm35,
                            Color = LbColourThirdAlarm35

                        });
                        break;
                    case 35:
                        LbTxtThirdAlarm36 = alarmList2[i].Message1;
                        LbColourThirdAlarm36 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm36,
                            Color = LbColourThirdAlarm36

                        });
                        break;
                    case 36:
                        LbTxtThirdAlarm37 = alarmList2[i].Message1;
                        LbColourThirdAlarm37 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm37,
                            Color = LbColourThirdAlarm37

                        });
                        break;
                    case 37:
                        LbTxtThirdAlarm38 = alarmList2[i].Message1;
                        LbColourThirdAlarm38 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm38,
                            Color = LbColourThirdAlarm38

                        });
                        break;
                    case 38:
                        LbTxtThirdAlarm39 = alarmList2[i].Message1;
                        LbColourThirdAlarm39 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm39,
                            Color = LbColourThirdAlarm39

                        });
                        break;
                    case 39:
                        LbTxtThirdAlarm40 = alarmList2[i].Message1;
                        LbColourThirdAlarm40 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm40,
                            Color = LbColourThirdAlarm40

                        });
                        break;
                    case 40:
                        LbTxtThirdAlarm41 = alarmList2[i].Message1;
                        LbColourThirdAlarm41 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm41,
                            Color = LbColourThirdAlarm41

                        });
                        break;
                    case 41:
                        LbTxtThirdAlarm42 = alarmList2[i].Message1;
                        LbColourThirdAlarm42 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm42,
                            Color = LbColourThirdAlarm42

                        });
                        break;
                    case 42:
                        LbTxtThirdAlarm43 = alarmList2[i].Message1;
                        LbColourThirdAlarm43 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm43,
                            Color = LbColourThirdAlarm43

                        });
                        break;
                    case 43:
                        LbTxtThirdAlarm44 = alarmList2[i].Message1;
                        LbColourThirdAlarm44 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm44,
                            Color = LbColourThirdAlarm44

                        });
                        break;
                    case 44:
                        LbTxtThirdAlarm45 = alarmList2[i].Message1;
                        LbColourThirdAlarm45 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm45,
                            Color = LbColourThirdAlarm45

                        });
                        break;
                    case 45:
                        LbTxtThirdAlarm46 = alarmList2[i].Message1;
                        LbColourThirdAlarm46 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm46,
                            Color = LbColourThirdAlarm46

                        });
                        break;
                    case 46:
                        LbTxtThirdAlarm47 = alarmList2[i].Message1;
                        LbColourThirdAlarm47 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm47,
                            Color = LbColourThirdAlarm47

                        });
                        break;
                    case 47:
                        LbTxtThirdAlarm48 = alarmList2[i].Message1;
                        LbColourThirdAlarm48 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm48,
                            Color = LbColourThirdAlarm48

                        });
                        break;
                    case 48:
                        LbTxtThirdAlarm49 = alarmList2[i].Message1;
                        LbColourThirdAlarm49 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm49,
                            Color = LbColourThirdAlarm49

                        });
                        break;
                    case 49:
                        LbTxtThirdAlarm50 = alarmList2[i].Message1;
                        LbColourThirdAlarm50 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm50,
                            Color = LbColourThirdAlarm50

                        });
                        break;
                    case 50:
                        LbTxtThirdAlarm51 = alarmList2[i].Message1;
                        LbColourThirdAlarm51 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm51,
                            Color = LbColourThirdAlarm51

                        });
                        break;
                    case 51:
                        LbTxtThirdAlarm52 = alarmList2[i].Message1;
                        LbColourThirdAlarm52 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm52,
                            Color = LbColourThirdAlarm52

                        });
                        break;
                    case 52:
                        LbTxtThirdAlarm53 = alarmList2[i].Message1;
                        LbColourThirdAlarm53 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm53,
                            Color = LbColourThirdAlarm53

                        });
                        break;
                    case 53:
                        LbTxtThirdAlarm54 = alarmList2[i].Message1;
                        LbColourThirdAlarm54 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm54,
                            Color = LbColourThirdAlarm54

                        });
                        break;
                    case 54:
                        LbTxtThirdAlarm55 = alarmList2[i].Message1;
                        LbColourThirdAlarm55 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm55,
                            Color = LbColourThirdAlarm55

                        });
                        break;
                    case 55:
                        LbTxtThirdAlarm56 = alarmList2[i].Message1;
                        LbColourThirdAlarm56 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm56,
                            Color = LbColourThirdAlarm56

                        });
                        break;
                    case 56:
                        LbTxtThirdAlarm57 = alarmList2[i].Message1;
                        LbColourThirdAlarm57 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm57,
                            Color = LbColourThirdAlarm57

                        });
                        break;
                    case 57:
                        LbTxtThirdAlarm58 = alarmList2[i].Message1;
                        LbColourThirdAlarm58 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm58,
                            Color = LbColourThirdAlarm58

                        });
                        break;
                    case 58:
                        LbTxtThirdAlarm59 = alarmList2[i].Message1;
                        LbColourThirdAlarm59 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm59,
                            Color = LbColourThirdAlarm59

                        });
                        break;
                    case 59:
                        LbTxtThirdAlarm60 = alarmList2[i].Message1;
                        LbColourThirdAlarm60 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm60,
                            Color = LbColourThirdAlarm60

                        });
                        break;
                    case 60:
                        LbTxtThirdAlarm61 = alarmList2[i].Message1;
                        LbColourThirdAlarm61 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm61,
                            Color = LbColourThirdAlarm61

                        });
                        break;
                    case 61:
                        LbTxtThirdAlarm62 = alarmList2[i].Message1;
                        LbColourThirdAlarm62 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm62,
                            Color = LbColourThirdAlarm62

                        });
                        break;
                    case 62:
                        LbTxtThirdAlarm63 = alarmList2[i].Message1;
                        LbColourThirdAlarm63 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm63,
                            Color = LbColourThirdAlarm63

                        });
                        break;
                    case 63:
                        LbTxtThirdAlarm64 = alarmList2[i].Message1;
                        LbColourThirdAlarm64 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm64,
                            Color = LbColourThirdAlarm64

                        });
                        break;
                    case 64:
                        LbTxtThirdAlarm65 = alarmList2[i].Message1;
                        LbColourThirdAlarm65 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm65,
                            Color = LbColourThirdAlarm65

                        });
                        break;
                    case 65:
                        LbTxtThirdAlarm66 = alarmList2[i].Message1;
                        LbColourThirdAlarm66 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm66,
                            Color = LbColourThirdAlarm66

                        });
                        break;
                    case 66:
                        LbTxtThirdAlarm67 = alarmList2[i].Message1;
                        LbColourThirdAlarm67 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm67,
                            Color = LbColourThirdAlarm67

                        });
                        break;
                    case 67:
                        LbTxtThirdAlarm68 = alarmList2[i].Message1;
                        LbColourThirdAlarm68 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm68,
                            Color = LbColourThirdAlarm68

                        });
                        break;
                    case 68:
                        LbTxtThirdAlarm69 = alarmList2[i].Message1;
                        LbColourThirdAlarm69 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm69,
                            Color = LbColourThirdAlarm69

                        });
                        break;
                    case 69:
                        LbTxtThirdAlarm70 = alarmList2[i].Message1;
                        LbColourThirdAlarm70 = Brushes.Black;
                        AllCon.Add(alarmList2[i].ConditionID1, new AlModel()
                        {
                            Content = LbTxtThirdAlarm70,
                            Color = LbColourThirdAlarm70

                        });
                        break;
                    default:
                        break;
                }

            }
        }

        private string LbTxtFistAlarm1_x; private string LbTxtSecondAlarm1_x; private string LbTxtThirdAlarm1_x;
        private string LbTxtFistAlarm2_x; private string LbTxtSecondAlarm2_x; private string LbTxtThirdAlarm2_x;
        private string LbTxtFistAlarm3_x; private string LbTxtSecondAlarm3_x; private string LbTxtThirdAlarm3_x;
        private string LbTxtFistAlarm4_x; private string LbTxtSecondAlarm4_x; private string LbTxtThirdAlarm4_x;
        private string LbTxtFistAlarm5_x; private string LbTxtSecondAlarm5_x; private string LbTxtThirdAlarm5_x;
        private string LbTxtFistAlarm6_x; private string LbTxtSecondAlarm6_x; private string LbTxtThirdAlarm6_x;
        private string LbTxtFistAlarm7_x; private string LbTxtSecondAlarm7_x; private string LbTxtThirdAlarm7_x;
        private string LbTxtFistAlarm8_x; private string LbTxtSecondAlarm8_x; private string LbTxtThirdAlarm8_x;
        private string LbTxtFistAlarm9_x; private string LbTxtSecondAlarm9_x; private string LbTxtThirdAlarm9_x;
        private string LbTxtFistAlarm10_x; private string LbTxtSecondAlarm10_x; private string LbTxtThirdAlarm10_x;
        private string LbTxtFistAlarm11_x; private string LbTxtSecondAlarm11_x; private string LbTxtThirdAlarm11_x;
        private string LbTxtFistAlarm12_x; private string LbTxtSecondAlarm12_x; private string LbTxtThirdAlarm12_x;
        private string LbTxtFistAlarm13_x; private string LbTxtSecondAlarm13_x; private string LbTxtThirdAlarm13_x;
        private string LbTxtFistAlarm14_x; private string LbTxtSecondAlarm14_x; private string LbTxtThirdAlarm14_x;
        private string LbTxtFistAlarm15_x; private string LbTxtSecondAlarm15_x; private string LbTxtThirdAlarm15_x;
        private string LbTxtFistAlarm16_x; private string LbTxtSecondAlarm16_x; private string LbTxtThirdAlarm16_x;
        private string LbTxtFistAlarm17_x; private string LbTxtSecondAlarm17_x; private string LbTxtThirdAlarm17_x;
        private string LbTxtFistAlarm18_x; private string LbTxtSecondAlarm18_x; private string LbTxtThirdAlarm18_x;
        private string LbTxtFistAlarm19_x; private string LbTxtSecondAlarm19_x; private string LbTxtThirdAlarm19_x;
        private string LbTxtFistAlarm20_x; private string LbTxtSecondAlarm20_x; private string LbTxtThirdAlarm20_x;
        private string LbTxtFistAlarm21_x; private string LbTxtSecondAlarm21_x; private string LbTxtThirdAlarm21_x;
        private string LbTxtFistAlarm22_x; private string LbTxtSecondAlarm22_x; private string LbTxtThirdAlarm22_x;
        private string LbTxtFistAlarm23_x; private string LbTxtSecondAlarm23_x; private string LbTxtThirdAlarm23_x;
        private string LbTxtFistAlarm24_x; private string LbTxtSecondAlarm24_x; private string LbTxtThirdAlarm24_x;
        private string LbTxtFistAlarm25_x; private string LbTxtSecondAlarm25_x; private string LbTxtThirdAlarm25_x;
        private string LbTxtFistAlarm26_x; private string LbTxtSecondAlarm26_x; private string LbTxtThirdAlarm26_x;
        private string LbTxtFistAlarm27_x; private string LbTxtSecondAlarm27_x; private string LbTxtThirdAlarm27_x;
        private string LbTxtFistAlarm28_x; private string LbTxtSecondAlarm28_x; private string LbTxtThirdAlarm28_x;
        private string LbTxtFistAlarm29_x; private string LbTxtSecondAlarm29_x; private string LbTxtThirdAlarm29_x;
        private string LbTxtFistAlarm30_x; private string LbTxtSecondAlarm30_x; private string LbTxtThirdAlarm30_x;
        private string LbTxtFistAlarm31_x; private string LbTxtSecondAlarm31_x; private string LbTxtThirdAlarm31_x;
        private string LbTxtFistAlarm32_x; private string LbTxtSecondAlarm32_x; private string LbTxtThirdAlarm32_x;
        private string LbTxtFistAlarm33_x; private string LbTxtSecondAlarm33_x; private string LbTxtThirdAlarm33_x;
        private string LbTxtFistAlarm34_x; private string LbTxtSecondAlarm34_x; private string LbTxtThirdAlarm34_x;
        private string LbTxtFistAlarm35_x; private string LbTxtSecondAlarm35_x; private string LbTxtThirdAlarm35_x;
        private string LbTxtFistAlarm36_x; private string LbTxtSecondAlarm36_x; private string LbTxtThirdAlarm36_x;
        private string LbTxtFistAlarm37_x; private string LbTxtSecondAlarm37_x; private string LbTxtThirdAlarm37_x;
        private string LbTxtFistAlarm38_x; private string LbTxtSecondAlarm38_x; private string LbTxtThirdAlarm38_x;
        private string LbTxtFistAlarm39_x; private string LbTxtSecondAlarm39_x; private string LbTxtThirdAlarm39_x;
        private string LbTxtFistAlarm40_x; private string LbTxtSecondAlarm40_x; private string LbTxtThirdAlarm40_x;
        private string LbTxtFistAlarm41_x; private string LbTxtSecondAlarm41_x; private string LbTxtThirdAlarm41_x;
        private string LbTxtFistAlarm42_x; private string LbTxtSecondAlarm42_x; private string LbTxtThirdAlarm42_x;
        private string LbTxtFistAlarm43_x; private string LbTxtSecondAlarm43_x; private string LbTxtThirdAlarm43_x;
        private string LbTxtFistAlarm44_x; private string LbTxtSecondAlarm44_x; private string LbTxtThirdAlarm44_x;
        private string LbTxtFistAlarm45_x; private string LbTxtSecondAlarm45_x; private string LbTxtThirdAlarm45_x;
        private string LbTxtFistAlarm46_x; private string LbTxtSecondAlarm46_x; private string LbTxtThirdAlarm46_x;
        private string LbTxtFistAlarm47_x; private string LbTxtSecondAlarm47_x; private string LbTxtThirdAlarm47_x;
        private string LbTxtFistAlarm48_x; private string LbTxtSecondAlarm48_x; private string LbTxtThirdAlarm48_x;
        private string LbTxtFistAlarm49_x; private string LbTxtSecondAlarm49_x; private string LbTxtThirdAlarm49_x;
        private string LbTxtFistAlarm50_x; private string LbTxtSecondAlarm50_x; private string LbTxtThirdAlarm50_x;
        private string LbTxtFistAlarm51_x; private string LbTxtSecondAlarm51_x; private string LbTxtThirdAlarm51_x;
        private string LbTxtFistAlarm52_x; private string LbTxtSecondAlarm52_x; private string LbTxtThirdAlarm52_x;
        private string LbTxtFistAlarm53_x; private string LbTxtSecondAlarm53_x; private string LbTxtThirdAlarm53_x;
        private string LbTxtFistAlarm54_x; private string LbTxtSecondAlarm54_x; private string LbTxtThirdAlarm54_x;
        private string LbTxtFistAlarm55_x; private string LbTxtSecondAlarm55_x; private string LbTxtThirdAlarm55_x;
        private string LbTxtFistAlarm56_x; private string LbTxtSecondAlarm56_x; private string LbTxtThirdAlarm56_x;
        private string LbTxtFistAlarm57_x; private string LbTxtSecondAlarm57_x; private string LbTxtThirdAlarm57_x;
        private string LbTxtFistAlarm58_x; private string LbTxtSecondAlarm58_x; private string LbTxtThirdAlarm58_x;
        private string LbTxtFistAlarm59_x; private string LbTxtSecondAlarm59_x; private string LbTxtThirdAlarm59_x;
        private string LbTxtFistAlarm60_x; private string LbTxtSecondAlarm60_x; private string LbTxtThirdAlarm60_x;
        private string LbTxtFistAlarm61_x; private string LbTxtSecondAlarm61_x; private string LbTxtThirdAlarm61_x;
        private string LbTxtFistAlarm62_x; private string LbTxtSecondAlarm62_x; private string LbTxtThirdAlarm62_x;
        private string LbTxtFistAlarm63_x; private string LbTxtSecondAlarm63_x; private string LbTxtThirdAlarm63_x;
        private string LbTxtFistAlarm64_x; private string LbTxtSecondAlarm64_x; private string LbTxtThirdAlarm64_x;
        private string LbTxtFistAlarm65_x; private string LbTxtSecondAlarm65_x; private string LbTxtThirdAlarm65_x;
        private string LbTxtFistAlarm66_x; private string LbTxtSecondAlarm66_x; private string LbTxtThirdAlarm66_x;
        private string LbTxtFistAlarm67_x; private string LbTxtSecondAlarm67_x; private string LbTxtThirdAlarm67_x;
        private string LbTxtFistAlarm68_x; private string LbTxtSecondAlarm68_x; private string LbTxtThirdAlarm68_x;
        private string LbTxtFistAlarm69_x; private string LbTxtSecondAlarm69_x; private string LbTxtThirdAlarm69_x;
        private string LbTxtFistAlarm70_x; private string LbTxtSecondAlarm70_x; private string LbTxtThirdAlarm70_x;

        private Brush LbColourFistAlarm1_x; private Brush LbColourSecondAlarm1_x; private Brush LbColourThirdAlarm1_x;
        private Brush LbColourFistAlarm2_x; private Brush LbColourSecondAlarm2_x; private Brush LbColourThirdAlarm2_x;
        private Brush LbColourFistAlarm3_x; private Brush LbColourSecondAlarm3_x; private Brush LbColourThirdAlarm3_x;
        private Brush LbColourFistAlarm4_x; private Brush LbColourSecondAlarm4_x; private Brush LbColourThirdAlarm4_x;
        private Brush LbColourFistAlarm5_x; private Brush LbColourSecondAlarm5_x; private Brush LbColourThirdAlarm5_x;
        private Brush LbColourFistAlarm6_x; private Brush LbColourSecondAlarm6_x; private Brush LbColourThirdAlarm6_x;
        private Brush LbColourFistAlarm7_x; private Brush LbColourSecondAlarm7_x; private Brush LbColourThirdAlarm7_x;
        private Brush LbColourFistAlarm8_x; private Brush LbColourSecondAlarm8_x; private Brush LbColourThirdAlarm8_x;
        private Brush LbColourFistAlarm9_x; private Brush LbColourSecondAlarm9_x; private Brush LbColourThirdAlarm9_x;
        private Brush LbColourFistAlarm10_x; private Brush LbColourSecondAlarm10_x; private Brush LbColourThirdAlarm10_x;
        private Brush LbColourFistAlarm11_x; private Brush LbColourSecondAlarm11_x; private Brush LbColourThirdAlarm11_x;
        private Brush LbColourFistAlarm12_x; private Brush LbColourSecondAlarm12_x; private Brush LbColourThirdAlarm12_x;
        private Brush LbColourFistAlarm13_x; private Brush LbColourSecondAlarm13_x; private Brush LbColourThirdAlarm13_x;
        private Brush LbColourFistAlarm14_x; private Brush LbColourSecondAlarm14_x; private Brush LbColourThirdAlarm14_x;
        private Brush LbColourFistAlarm15_x; private Brush LbColourSecondAlarm15_x; private Brush LbColourThirdAlarm15_x;
        private Brush LbColourFistAlarm16_x; private Brush LbColourSecondAlarm16_x; private Brush LbColourThirdAlarm16_x;
        private Brush LbColourFistAlarm17_x; private Brush LbColourSecondAlarm17_x; private Brush LbColourThirdAlarm17_x;
        private Brush LbColourFistAlarm18_x; private Brush LbColourSecondAlarm18_x; private Brush LbColourThirdAlarm18_x;
        private Brush LbColourFistAlarm19_x; private Brush LbColourSecondAlarm19_x; private Brush LbColourThirdAlarm19_x;
        private Brush LbColourFistAlarm20_x; private Brush LbColourSecondAlarm20_x; private Brush LbColourThirdAlarm20_x;
        private Brush LbColourFistAlarm21_x; private Brush LbColourSecondAlarm21_x; private Brush LbColourThirdAlarm21_x;
        private Brush LbColourFistAlarm22_x; private Brush LbColourSecondAlarm22_x; private Brush LbColourThirdAlarm22_x;
        private Brush LbColourFistAlarm23_x; private Brush LbColourSecondAlarm23_x; private Brush LbColourThirdAlarm23_x;
        private Brush LbColourFistAlarm24_x; private Brush LbColourSecondAlarm24_x; private Brush LbColourThirdAlarm24_x;
        private Brush LbColourFistAlarm25_x; private Brush LbColourSecondAlarm25_x; private Brush LbColourThirdAlarm25_x;
        private Brush LbColourFistAlarm26_x; private Brush LbColourSecondAlarm26_x; private Brush LbColourThirdAlarm26_x;
        private Brush LbColourFistAlarm27_x; private Brush LbColourSecondAlarm27_x; private Brush LbColourThirdAlarm27_x;
        private Brush LbColourFistAlarm28_x; private Brush LbColourSecondAlarm28_x; private Brush LbColourThirdAlarm28_x;
        private Brush LbColourFistAlarm29_x; private Brush LbColourSecondAlarm29_x; private Brush LbColourThirdAlarm29_x;
        private Brush LbColourFistAlarm30_x; private Brush LbColourSecondAlarm30_x; private Brush LbColourThirdAlarm30_x;
        private Brush LbColourFistAlarm31_x; private Brush LbColourSecondAlarm31_x; private Brush LbColourThirdAlarm31_x;
        private Brush LbColourFistAlarm32_x; private Brush LbColourSecondAlarm32_x; private Brush LbColourThirdAlarm32_x;
        private Brush LbColourFistAlarm33_x; private Brush LbColourSecondAlarm33_x; private Brush LbColourThirdAlarm33_x;
        private Brush LbColourFistAlarm34_x; private Brush LbColourSecondAlarm34_x; private Brush LbColourThirdAlarm34_x;
        private Brush LbColourFistAlarm35_x; private Brush LbColourSecondAlarm35_x; private Brush LbColourThirdAlarm35_x;
        private Brush LbColourFistAlarm36_x; private Brush LbColourSecondAlarm36_x; private Brush LbColourThirdAlarm36_x;
        private Brush LbColourFistAlarm37_x; private Brush LbColourSecondAlarm37_x; private Brush LbColourThirdAlarm37_x;
        private Brush LbColourFistAlarm38_x; private Brush LbColourSecondAlarm38_x; private Brush LbColourThirdAlarm38_x;
        private Brush LbColourFistAlarm39_x; private Brush LbColourSecondAlarm39_x; private Brush LbColourThirdAlarm39_x;
        private Brush LbColourFistAlarm40_x; private Brush LbColourSecondAlarm40_x; private Brush LbColourThirdAlarm40_x;
        private Brush LbColourFistAlarm41_x; private Brush LbColourSecondAlarm41_x; private Brush LbColourThirdAlarm41_x;
        private Brush LbColourFistAlarm42_x; private Brush LbColourSecondAlarm42_x; private Brush LbColourThirdAlarm42_x;
        private Brush LbColourFistAlarm43_x; private Brush LbColourSecondAlarm43_x; private Brush LbColourThirdAlarm43_x;
        private Brush LbColourFistAlarm44_x; private Brush LbColourSecondAlarm44_x; private Brush LbColourThirdAlarm44_x;
        private Brush LbColourFistAlarm45_x; private Brush LbColourSecondAlarm45_x; private Brush LbColourThirdAlarm45_x;
        private Brush LbColourFistAlarm46_x; private Brush LbColourSecondAlarm46_x; private Brush LbColourThirdAlarm46_x;
        private Brush LbColourFistAlarm47_x; private Brush LbColourSecondAlarm47_x; private Brush LbColourThirdAlarm47_x;
        private Brush LbColourFistAlarm48_x; private Brush LbColourSecondAlarm48_x; private Brush LbColourThirdAlarm48_x;
        private Brush LbColourFistAlarm49_x; private Brush LbColourSecondAlarm49_x; private Brush LbColourThirdAlarm49_x;
        private Brush LbColourFistAlarm50_x; private Brush LbColourSecondAlarm50_x; private Brush LbColourThirdAlarm50_x;
        private Brush LbColourFistAlarm51_x; private Brush LbColourSecondAlarm51_x; private Brush LbColourThirdAlarm51_x;
        private Brush LbColourFistAlarm52_x; private Brush LbColourSecondAlarm52_x; private Brush LbColourThirdAlarm52_x;
        private Brush LbColourFistAlarm53_x; private Brush LbColourSecondAlarm53_x; private Brush LbColourThirdAlarm53_x;
        private Brush LbColourFistAlarm54_x; private Brush LbColourSecondAlarm54_x; private Brush LbColourThirdAlarm54_x;
        private Brush LbColourFistAlarm55_x; private Brush LbColourSecondAlarm55_x; private Brush LbColourThirdAlarm55_x;
        private Brush LbColourFistAlarm56_x; private Brush LbColourSecondAlarm56_x; private Brush LbColourThirdAlarm56_x;
        private Brush LbColourFistAlarm57_x; private Brush LbColourSecondAlarm57_x; private Brush LbColourThirdAlarm57_x;
        private Brush LbColourFistAlarm58_x; private Brush LbColourSecondAlarm58_x; private Brush LbColourThirdAlarm58_x;
        private Brush LbColourFistAlarm59_x; private Brush LbColourSecondAlarm59_x; private Brush LbColourThirdAlarm59_x;
        private Brush LbColourFistAlarm60_x; private Brush LbColourSecondAlarm60_x; private Brush LbColourThirdAlarm60_x;
        private Brush LbColourFistAlarm61_x; private Brush LbColourSecondAlarm61_x; private Brush LbColourThirdAlarm61_x;
        private Brush LbColourFistAlarm62_x; private Brush LbColourSecondAlarm62_x; private Brush LbColourThirdAlarm62_x;
        private Brush LbColourFistAlarm63_x; private Brush LbColourSecondAlarm63_x; private Brush LbColourThirdAlarm63_x;
        private Brush LbColourFistAlarm64_x; private Brush LbColourSecondAlarm64_x; private Brush LbColourThirdAlarm64_x;
        private Brush LbColourFistAlarm65_x; private Brush LbColourSecondAlarm65_x; private Brush LbColourThirdAlarm65_x;
        private Brush LbColourFistAlarm66_x; private Brush LbColourSecondAlarm66_x; private Brush LbColourThirdAlarm66_x;
        private Brush LbColourFistAlarm67_x; private Brush LbColourSecondAlarm67_x; private Brush LbColourThirdAlarm67_x;
        private Brush LbColourFistAlarm68_x; private Brush LbColourSecondAlarm68_x; private Brush LbColourThirdAlarm68_x;
        private Brush LbColourFistAlarm69_x; private Brush LbColourSecondAlarm69_x; private Brush LbColourThirdAlarm69_x;
        private Brush LbColourFistAlarm70_x; private Brush LbColourSecondAlarm70_x; private Brush LbColourThirdAlarm70_x;
        public string LbTxtFistAlarm1 { get { return LbTxtFistAlarm1_x; } set { LbTxtFistAlarm1_x = value; RaisePropertyChanged("LbTxtFistAlarm1"); } }
        public string LbTxtFistAlarm2 { get { return LbTxtFistAlarm2_x; } set { LbTxtFistAlarm2_x = value; RaisePropertyChanged("LbTxtFistAlarm2"); } }
        public string LbTxtFistAlarm3 { get { return LbTxtFistAlarm3_x; } set { LbTxtFistAlarm3_x = value; RaisePropertyChanged("LbTxtFistAlarm3"); } }
        public string LbTxtFistAlarm4 { get { return LbTxtFistAlarm4_x; } set { LbTxtFistAlarm4_x = value; RaisePropertyChanged("LbTxtFistAlarm4"); } }
        public string LbTxtFistAlarm5 { get { return LbTxtFistAlarm5_x; } set { LbTxtFistAlarm5_x = value; RaisePropertyChanged("LbTxtFistAlarm5"); } }
        public string LbTxtFistAlarm6 { get { return LbTxtFistAlarm6_x; } set { LbTxtFistAlarm6_x = value; RaisePropertyChanged("LbTxtFistAlarm6"); } }
        public string LbTxtFistAlarm7 { get { return LbTxtFistAlarm7_x; } set { LbTxtFistAlarm7_x = value; RaisePropertyChanged("LbTxtFistAlarm7"); } }
        public string LbTxtFistAlarm8 { get { return LbTxtFistAlarm8_x; } set { LbTxtFistAlarm8_x = value; RaisePropertyChanged("LbTxtFistAlarm8"); } }
        public string LbTxtFistAlarm9 { get { return LbTxtFistAlarm9_x; } set { LbTxtFistAlarm9_x = value; RaisePropertyChanged("LbTxtFistAlarm9"); } }
        public string LbTxtFistAlarm10 { get { return LbTxtFistAlarm10_x; } set { LbTxtFistAlarm10_x = value; RaisePropertyChanged("LbTxtFistAlarm10"); } }
        public string LbTxtFistAlarm11 { get { return LbTxtFistAlarm11_x; } set { LbTxtFistAlarm11_x = value; RaisePropertyChanged("LbTxtFistAlarm11"); } }
        public string LbTxtFistAlarm12 { get { return LbTxtFistAlarm12_x; } set { LbTxtFistAlarm12_x = value; RaisePropertyChanged("LbTxtFistAlarm12"); } }
        public string LbTxtFistAlarm13 { get { return LbTxtFistAlarm13_x; } set { LbTxtFistAlarm13_x = value; RaisePropertyChanged("LbTxtFistAlarm13"); } }
        public string LbTxtFistAlarm14 { get { return LbTxtFistAlarm14_x; } set { LbTxtFistAlarm14_x = value; RaisePropertyChanged("LbTxtFistAlarm14"); } }
        public string LbTxtFistAlarm15 { get { return LbTxtFistAlarm15_x; } set { LbTxtFistAlarm15_x = value; RaisePropertyChanged("LbTxtFistAlarm15"); } }
        public string LbTxtFistAlarm16 { get { return LbTxtFistAlarm16_x; } set { LbTxtFistAlarm16_x = value; RaisePropertyChanged("LbTxtFistAlarm16"); } }
        public string LbTxtFistAlarm17 { get { return LbTxtFistAlarm17_x; } set { LbTxtFistAlarm17_x = value; RaisePropertyChanged("LbTxtFistAlarm17"); } }
        public string LbTxtFistAlarm18 { get { return LbTxtFistAlarm18_x; } set { LbTxtFistAlarm18_x = value; RaisePropertyChanged("LbTxtFistAlarm18"); } }
        public string LbTxtFistAlarm19 { get { return LbTxtFistAlarm19_x; } set { LbTxtFistAlarm19_x = value; RaisePropertyChanged("LbTxtFistAlarm19"); } }
        public string LbTxtFistAlarm20 { get { return LbTxtFistAlarm20_x; } set { LbTxtFistAlarm20_x = value; RaisePropertyChanged("LbTxtFistAlarm20"); } }
        public string LbTxtFistAlarm21 { get { return LbTxtFistAlarm21_x; } set { LbTxtFistAlarm21_x = value; RaisePropertyChanged("LbTxtFistAlarm21"); } }
        public string LbTxtFistAlarm22 { get { return LbTxtFistAlarm22_x; } set { LbTxtFistAlarm22_x = value; RaisePropertyChanged("LbTxtFistAlarm22"); } }
        public string LbTxtFistAlarm23 { get { return LbTxtFistAlarm23_x; } set { LbTxtFistAlarm23_x = value; RaisePropertyChanged("LbTxtFistAlarm23"); } }
        public string LbTxtFistAlarm24 { get { return LbTxtFistAlarm24_x; } set { LbTxtFistAlarm24_x = value; RaisePropertyChanged("LbTxtFistAlarm24"); } }
        public string LbTxtFistAlarm25 { get { return LbTxtFistAlarm25_x; } set { LbTxtFistAlarm25_x = value; RaisePropertyChanged("LbTxtFistAlarm25"); } }
        public string LbTxtFistAlarm26 { get { return LbTxtFistAlarm26_x; } set { LbTxtFistAlarm26_x = value; RaisePropertyChanged("LbTxtFistAlarm26"); } }
        public string LbTxtFistAlarm27 { get { return LbTxtFistAlarm27_x; } set { LbTxtFistAlarm27_x = value; RaisePropertyChanged("LbTxtFistAlarm27"); } }
        public string LbTxtFistAlarm28 { get { return LbTxtFistAlarm28_x; } set { LbTxtFistAlarm28_x = value; RaisePropertyChanged("LbTxtFistAlarm28"); } }
        public string LbTxtFistAlarm29 { get { return LbTxtFistAlarm29_x; } set { LbTxtFistAlarm29_x = value; RaisePropertyChanged("LbTxtFistAlarm29"); } }
        public string LbTxtFistAlarm30 { get { return LbTxtFistAlarm30_x; } set { LbTxtFistAlarm30_x = value; RaisePropertyChanged("LbTxtFistAlarm30"); } }
        public string LbTxtFistAlarm31 { get { return LbTxtFistAlarm31_x; } set { LbTxtFistAlarm31_x = value; RaisePropertyChanged("LbTxtFistAlarm31"); } }
        public string LbTxtFistAlarm32 { get { return LbTxtFistAlarm32_x; } set { LbTxtFistAlarm32_x = value; RaisePropertyChanged("LbTxtFistAlarm32"); } }
        public string LbTxtFistAlarm33 { get { return LbTxtFistAlarm33_x; } set { LbTxtFistAlarm33_x = value; RaisePropertyChanged("LbTxtFistAlarm33"); } }
        public string LbTxtFistAlarm34 { get { return LbTxtFistAlarm34_x; } set { LbTxtFistAlarm34_x = value; RaisePropertyChanged("LbTxtFistAlarm34"); } }
        public string LbTxtFistAlarm35 { get { return LbTxtFistAlarm35_x; } set { LbTxtFistAlarm35_x = value; RaisePropertyChanged("LbTxtFistAlarm35"); } }
        public string LbTxtFistAlarm36 { get { return LbTxtFistAlarm36_x; } set { LbTxtFistAlarm36_x = value; RaisePropertyChanged("LbTxtFistAlarm36"); } }
        public string LbTxtFistAlarm37 { get { return LbTxtFistAlarm37_x; } set { LbTxtFistAlarm37_x = value; RaisePropertyChanged("LbTxtFistAlarm37"); } }
        public string LbTxtFistAlarm38 { get { return LbTxtFistAlarm38_x; } set { LbTxtFistAlarm38_x = value; RaisePropertyChanged("LbTxtFistAlarm38"); } }
        public string LbTxtFistAlarm39 { get { return LbTxtFistAlarm39_x; } set { LbTxtFistAlarm39_x = value; RaisePropertyChanged("LbTxtFistAlarm39"); } }
        public string LbTxtFistAlarm40 { get { return LbTxtFistAlarm40_x; } set { LbTxtFistAlarm40_x = value; RaisePropertyChanged("LbTxtFistAlarm40"); } }
        public string LbTxtFistAlarm41 { get { return LbTxtFistAlarm41_x; } set { LbTxtFistAlarm41_x = value; RaisePropertyChanged("LbTxtFistAlarm41"); } }
        public string LbTxtFistAlarm42 { get { return LbTxtFistAlarm42_x; } set { LbTxtFistAlarm42_x = value; RaisePropertyChanged("LbTxtFistAlarm42"); } }
        public string LbTxtFistAlarm43 { get { return LbTxtFistAlarm43_x; } set { LbTxtFistAlarm43_x = value; RaisePropertyChanged("LbTxtFistAlarm43"); } }
        public string LbTxtFistAlarm44 { get { return LbTxtFistAlarm44_x; } set { LbTxtFistAlarm44_x = value; RaisePropertyChanged("LbTxtFistAlarm44"); } }
        public string LbTxtFistAlarm45 { get { return LbTxtFistAlarm45_x; } set { LbTxtFistAlarm45_x = value; RaisePropertyChanged("LbTxtFistAlarm45"); } }
        public string LbTxtFistAlarm46 { get { return LbTxtFistAlarm46_x; } set { LbTxtFistAlarm46_x = value; RaisePropertyChanged("LbTxtFistAlarm46"); } }
        public string LbTxtFistAlarm47 { get { return LbTxtFistAlarm47_x; } set { LbTxtFistAlarm47_x = value; RaisePropertyChanged("LbTxtFistAlarm47"); } }
        public string LbTxtFistAlarm48 { get { return LbTxtFistAlarm48_x; } set { LbTxtFistAlarm48_x = value; RaisePropertyChanged("LbTxtFistAlarm48"); } }
        public string LbTxtFistAlarm49 { get { return LbTxtFistAlarm49_x; } set { LbTxtFistAlarm49_x = value; RaisePropertyChanged("LbTxtFistAlarm49"); } }
        public string LbTxtFistAlarm50 { get { return LbTxtFistAlarm50_x; } set { LbTxtFistAlarm50_x = value; RaisePropertyChanged("LbTxtFistAlarm50"); } }
        public string LbTxtFistAlarm51 { get { return LbTxtFistAlarm51_x; } set { LbTxtFistAlarm51_x = value; RaisePropertyChanged("LbTxtFistAlarm51"); } }
        public string LbTxtFistAlarm52 { get { return LbTxtFistAlarm52_x; } set { LbTxtFistAlarm52_x = value; RaisePropertyChanged("LbTxtFistAlarm52"); } }
        public string LbTxtFistAlarm53 { get { return LbTxtFistAlarm53_x; } set { LbTxtFistAlarm53_x = value; RaisePropertyChanged("LbTxtFistAlarm53"); } }
        public string LbTxtFistAlarm54 { get { return LbTxtFistAlarm54_x; } set { LbTxtFistAlarm54_x = value; RaisePropertyChanged("LbTxtFistAlarm54"); } }
        public string LbTxtFistAlarm55 { get { return LbTxtFistAlarm55_x; } set { LbTxtFistAlarm55_x = value; RaisePropertyChanged("LbTxtFistAlarm55"); } }
        public string LbTxtFistAlarm56 { get { return LbTxtFistAlarm56_x; } set { LbTxtFistAlarm56_x = value; RaisePropertyChanged("LbTxtFistAlarm56"); } }
        public string LbTxtFistAlarm57 { get { return LbTxtFistAlarm57_x; } set { LbTxtFistAlarm57_x = value; RaisePropertyChanged("LbTxtFistAlarm57"); } }
        public string LbTxtFistAlarm58 { get { return LbTxtFistAlarm58_x; } set { LbTxtFistAlarm58_x = value; RaisePropertyChanged("LbTxtFistAlarm58"); } }
        public string LbTxtFistAlarm59 { get { return LbTxtFistAlarm59_x; } set { LbTxtFistAlarm59_x = value; RaisePropertyChanged("LbTxtFistAlarm59"); } }
        public string LbTxtFistAlarm60 { get { return LbTxtFistAlarm60_x; } set { LbTxtFistAlarm60_x = value; RaisePropertyChanged("LbTxtFistAlarm60"); } }
        public string LbTxtFistAlarm61 { get { return LbTxtFistAlarm61_x; } set { LbTxtFistAlarm61_x = value; RaisePropertyChanged("LbTxtFistAlarm61"); } }
        public string LbTxtFistAlarm62 { get { return LbTxtFistAlarm62_x; } set { LbTxtFistAlarm62_x = value; RaisePropertyChanged("LbTxtFistAlarm62"); } }
        public string LbTxtFistAlarm63 { get { return LbTxtFistAlarm63_x; } set { LbTxtFistAlarm63_x = value; RaisePropertyChanged("LbTxtFistAlarm63"); } }
        public string LbTxtFistAlarm64 { get { return LbTxtFistAlarm64_x; } set { LbTxtFistAlarm64_x = value; RaisePropertyChanged("LbTxtFistAlarm64"); } }
        public string LbTxtFistAlarm65 { get { return LbTxtFistAlarm65_x; } set { LbTxtFistAlarm65_x = value; RaisePropertyChanged("LbTxtFistAlarm65"); } }
        public string LbTxtFistAlarm66 { get { return LbTxtFistAlarm66_x; } set { LbTxtFistAlarm66_x = value; RaisePropertyChanged("LbTxtFistAlarm66"); } }
        public string LbTxtFistAlarm67 { get { return LbTxtFistAlarm67_x; } set { LbTxtFistAlarm67_x = value; RaisePropertyChanged("LbTxtFistAlarm67"); } }
        public string LbTxtFistAlarm68 { get { return LbTxtFistAlarm68_x; } set { LbTxtFistAlarm68_x = value; RaisePropertyChanged("LbTxtFistAlarm68"); } }
        public string LbTxtFistAlarm69 { get { return LbTxtFistAlarm69_x; } set { LbTxtFistAlarm69_x = value; RaisePropertyChanged("LbTxtFistAlarm69"); } }
        public string LbTxtFistAlarm70 { get { return LbTxtFistAlarm70_x; } set { LbTxtFistAlarm70_x = value; RaisePropertyChanged("LbTxtFistAlarm70"); } }
        public string LbTxtSecondAlarm1 { get { return LbTxtSecondAlarm1_x; } set { LbTxtSecondAlarm1_x = value; RaisePropertyChanged("LbTxtSecondAlarm1"); } }
        public string LbTxtSecondAlarm2 { get { return LbTxtSecondAlarm2_x; } set { LbTxtSecondAlarm2_x = value; RaisePropertyChanged("LbTxtSecondAlarm2"); } }
        public string LbTxtSecondAlarm3 { get { return LbTxtSecondAlarm3_x; } set { LbTxtSecondAlarm3_x = value; RaisePropertyChanged("LbTxtSecondAlarm3"); } }
        public string LbTxtSecondAlarm4 { get { return LbTxtSecondAlarm4_x; } set { LbTxtSecondAlarm4_x = value; RaisePropertyChanged("LbTxtSecondAlarm4"); } }
        public string LbTxtSecondAlarm5 { get { return LbTxtSecondAlarm5_x; } set { LbTxtSecondAlarm5_x = value; RaisePropertyChanged("LbTxtSecondAlarm5"); } }
        public string LbTxtSecondAlarm6 { get { return LbTxtSecondAlarm6_x; } set { LbTxtSecondAlarm6_x = value; RaisePropertyChanged("LbTxtSecondAlarm6"); } }
        public string LbTxtSecondAlarm7 { get { return LbTxtSecondAlarm7_x; } set { LbTxtSecondAlarm7_x = value; RaisePropertyChanged("LbTxtSecondAlarm7"); } }
        public string LbTxtSecondAlarm8 { get { return LbTxtSecondAlarm8_x; } set { LbTxtSecondAlarm8_x = value; RaisePropertyChanged("LbTxtSecondAlarm8"); } }
        public string LbTxtSecondAlarm9 { get { return LbTxtSecondAlarm9_x; } set { LbTxtSecondAlarm9_x = value; RaisePropertyChanged("LbTxtSecondAlarm9"); } }
        public string LbTxtSecondAlarm10 { get { return LbTxtSecondAlarm10_x; } set { LbTxtSecondAlarm10_x = value; RaisePropertyChanged("LbTxtSecondAlarm10"); } }
        public string LbTxtSecondAlarm11 { get { return LbTxtSecondAlarm11_x; } set { LbTxtSecondAlarm11_x = value; RaisePropertyChanged("LbTxtSecondAlarm11"); } }
        public string LbTxtSecondAlarm12 { get { return LbTxtSecondAlarm12_x; } set { LbTxtSecondAlarm12_x = value; RaisePropertyChanged("LbTxtSecondAlarm12"); } }
        public string LbTxtSecondAlarm13 { get { return LbTxtSecondAlarm13_x; } set { LbTxtSecondAlarm13_x = value; RaisePropertyChanged("LbTxtSecondAlarm13"); } }
        public string LbTxtSecondAlarm14 { get { return LbTxtSecondAlarm14_x; } set { LbTxtSecondAlarm14_x = value; RaisePropertyChanged("LbTxtSecondAlarm14"); } }
        public string LbTxtSecondAlarm15 { get { return LbTxtSecondAlarm15_x; } set { LbTxtSecondAlarm15_x = value; RaisePropertyChanged("LbTxtSecondAlarm15"); } }
        public string LbTxtSecondAlarm16 { get { return LbTxtSecondAlarm16_x; } set { LbTxtSecondAlarm16_x = value; RaisePropertyChanged("LbTxtSecondAlarm16"); } }
        public string LbTxtSecondAlarm17 { get { return LbTxtSecondAlarm17_x; } set { LbTxtSecondAlarm17_x = value; RaisePropertyChanged("LbTxtSecondAlarm17"); } }
        public string LbTxtSecondAlarm18 { get { return LbTxtSecondAlarm18_x; } set { LbTxtSecondAlarm18_x = value; RaisePropertyChanged("LbTxtSecondAlarm18"); } }
        public string LbTxtSecondAlarm19 { get { return LbTxtSecondAlarm19_x; } set { LbTxtSecondAlarm19_x = value; RaisePropertyChanged("LbTxtSecondAlarm19"); } }
        public string LbTxtSecondAlarm20 { get { return LbTxtSecondAlarm20_x; } set { LbTxtSecondAlarm20_x = value; RaisePropertyChanged("LbTxtSecondAlarm20"); } }
        public string LbTxtSecondAlarm21 { get { return LbTxtSecondAlarm21_x; } set { LbTxtSecondAlarm21_x = value; RaisePropertyChanged("LbTxtSecondAlarm21"); } }
        public string LbTxtSecondAlarm22 { get { return LbTxtSecondAlarm22_x; } set { LbTxtSecondAlarm22_x = value; RaisePropertyChanged("LbTxtSecondAlarm22"); } }
        public string LbTxtSecondAlarm23 { get { return LbTxtSecondAlarm23_x; } set { LbTxtSecondAlarm23_x = value; RaisePropertyChanged("LbTxtSecondAlarm23"); } }
        public string LbTxtSecondAlarm24 { get { return LbTxtSecondAlarm24_x; } set { LbTxtSecondAlarm24_x = value; RaisePropertyChanged("LbTxtSecondAlarm24"); } }
        public string LbTxtSecondAlarm25 { get { return LbTxtSecondAlarm25_x; } set { LbTxtSecondAlarm25_x = value; RaisePropertyChanged("LbTxtSecondAlarm25"); } }
        public string LbTxtSecondAlarm26 { get { return LbTxtSecondAlarm26_x; } set { LbTxtSecondAlarm26_x = value; RaisePropertyChanged("LbTxtSecondAlarm26"); } }
        public string LbTxtSecondAlarm27 { get { return LbTxtSecondAlarm27_x; } set { LbTxtSecondAlarm27_x = value; RaisePropertyChanged("LbTxtSecondAlarm27"); } }
        public string LbTxtSecondAlarm28 { get { return LbTxtSecondAlarm28_x; } set { LbTxtSecondAlarm28_x = value; RaisePropertyChanged("LbTxtSecondAlarm28"); } }
        public string LbTxtSecondAlarm29 { get { return LbTxtSecondAlarm29_x; } set { LbTxtSecondAlarm29_x = value; RaisePropertyChanged("LbTxtSecondAlarm29"); } }
        public string LbTxtSecondAlarm30 { get { return LbTxtSecondAlarm30_x; } set { LbTxtSecondAlarm30_x = value; RaisePropertyChanged("LbTxtSecondAlarm30"); } }
        public string LbTxtSecondAlarm31 { get { return LbTxtSecondAlarm31_x; } set { LbTxtSecondAlarm31_x = value; RaisePropertyChanged("LbTxtSecondAlarm31"); } }
        public string LbTxtSecondAlarm32 { get { return LbTxtSecondAlarm32_x; } set { LbTxtSecondAlarm32_x = value; RaisePropertyChanged("LbTxtSecondAlarm32"); } }
        public string LbTxtSecondAlarm33 { get { return LbTxtSecondAlarm33_x; } set { LbTxtSecondAlarm33_x = value; RaisePropertyChanged("LbTxtSecondAlarm33"); } }
        public string LbTxtSecondAlarm34 { get { return LbTxtSecondAlarm34_x; } set { LbTxtSecondAlarm34_x = value; RaisePropertyChanged("LbTxtSecondAlarm34"); } }
        public string LbTxtSecondAlarm35 { get { return LbTxtSecondAlarm35_x; } set { LbTxtSecondAlarm35_x = value; RaisePropertyChanged("LbTxtSecondAlarm35"); } }
        public string LbTxtSecondAlarm36 { get { return LbTxtSecondAlarm36_x; } set { LbTxtSecondAlarm36_x = value; RaisePropertyChanged("LbTxtSecondAlarm36"); } }
        public string LbTxtSecondAlarm37 { get { return LbTxtSecondAlarm37_x; } set { LbTxtSecondAlarm37_x = value; RaisePropertyChanged("LbTxtSecondAlarm37"); } }
        public string LbTxtSecondAlarm38 { get { return LbTxtSecondAlarm38_x; } set { LbTxtSecondAlarm38_x = value; RaisePropertyChanged("LbTxtSecondAlarm38"); } }
        public string LbTxtSecondAlarm39 { get { return LbTxtSecondAlarm39_x; } set { LbTxtSecondAlarm39_x = value; RaisePropertyChanged("LbTxtSecondAlarm39"); } }
        public string LbTxtSecondAlarm40 { get { return LbTxtSecondAlarm40_x; } set { LbTxtSecondAlarm40_x = value; RaisePropertyChanged("LbTxtSecondAlarm40"); } }
        public string LbTxtSecondAlarm41 { get { return LbTxtSecondAlarm41_x; } set { LbTxtSecondAlarm41_x = value; RaisePropertyChanged("LbTxtSecondAlarm41"); } }
        public string LbTxtSecondAlarm42 { get { return LbTxtSecondAlarm42_x; } set { LbTxtSecondAlarm42_x = value; RaisePropertyChanged("LbTxtSecondAlarm42"); } }
        public string LbTxtSecondAlarm43 { get { return LbTxtSecondAlarm43_x; } set { LbTxtSecondAlarm43_x = value; RaisePropertyChanged("LbTxtSecondAlarm43"); } }
        public string LbTxtSecondAlarm44 { get { return LbTxtSecondAlarm44_x; } set { LbTxtSecondAlarm44_x = value; RaisePropertyChanged("LbTxtSecondAlarm44"); } }
        public string LbTxtSecondAlarm45 { get { return LbTxtSecondAlarm45_x; } set { LbTxtSecondAlarm45_x = value; RaisePropertyChanged("LbTxtSecondAlarm45"); } }
        public string LbTxtSecondAlarm46 { get { return LbTxtSecondAlarm46_x; } set { LbTxtSecondAlarm46_x = value; RaisePropertyChanged("LbTxtSecondAlarm46"); } }
        public string LbTxtSecondAlarm47 { get { return LbTxtSecondAlarm47_x; } set { LbTxtSecondAlarm47_x = value; RaisePropertyChanged("LbTxtSecondAlarm47"); } }
        public string LbTxtSecondAlarm48 { get { return LbTxtSecondAlarm48_x; } set { LbTxtSecondAlarm48_x = value; RaisePropertyChanged("LbTxtSecondAlarm48"); } }
        public string LbTxtSecondAlarm49 { get { return LbTxtSecondAlarm49_x; } set { LbTxtSecondAlarm49_x = value; RaisePropertyChanged("LbTxtSecondAlarm49"); } }
        public string LbTxtSecondAlarm50 { get { return LbTxtSecondAlarm50_x; } set { LbTxtSecondAlarm50_x = value; RaisePropertyChanged("LbTxtSecondAlarm50"); } }
        public string LbTxtSecondAlarm51 { get { return LbTxtSecondAlarm51_x; } set { LbTxtSecondAlarm51_x = value; RaisePropertyChanged("LbTxtSecondAlarm51"); } }
        public string LbTxtSecondAlarm52 { get { return LbTxtSecondAlarm52_x; } set { LbTxtSecondAlarm52_x = value; RaisePropertyChanged("LbTxtSecondAlarm52"); } }
        public string LbTxtSecondAlarm53 { get { return LbTxtSecondAlarm53_x; } set { LbTxtSecondAlarm53_x = value; RaisePropertyChanged("LbTxtSecondAlarm53"); } }
        public string LbTxtSecondAlarm54 { get { return LbTxtSecondAlarm54_x; } set { LbTxtSecondAlarm54_x = value; RaisePropertyChanged("LbTxtSecondAlarm54"); } }
        public string LbTxtSecondAlarm55 { get { return LbTxtSecondAlarm55_x; } set { LbTxtSecondAlarm55_x = value; RaisePropertyChanged("LbTxtSecondAlarm55"); } }
        public string LbTxtSecondAlarm56 { get { return LbTxtSecondAlarm56_x; } set { LbTxtSecondAlarm56_x = value; RaisePropertyChanged("LbTxtSecondAlarm56"); } }
        public string LbTxtSecondAlarm57 { get { return LbTxtSecondAlarm57_x; } set { LbTxtSecondAlarm57_x = value; RaisePropertyChanged("LbTxtSecondAlarm57"); } }
        public string LbTxtSecondAlarm58 { get { return LbTxtSecondAlarm58_x; } set { LbTxtSecondAlarm58_x = value; RaisePropertyChanged("LbTxtSecondAlarm58"); } }
        public string LbTxtSecondAlarm59 { get { return LbTxtSecondAlarm59_x; } set { LbTxtSecondAlarm59_x = value; RaisePropertyChanged("LbTxtSecondAlarm59"); } }
        public string LbTxtSecondAlarm60 { get { return LbTxtSecondAlarm60_x; } set { LbTxtSecondAlarm60_x = value; RaisePropertyChanged("LbTxtSecondAlarm60"); } }
        public string LbTxtSecondAlarm61 { get { return LbTxtSecondAlarm61_x; } set { LbTxtSecondAlarm61_x = value; RaisePropertyChanged("LbTxtSecondAlarm61"); } }
        public string LbTxtSecondAlarm62 { get { return LbTxtSecondAlarm62_x; } set { LbTxtSecondAlarm62_x = value; RaisePropertyChanged("LbTxtSecondAlarm62"); } }
        public string LbTxtSecondAlarm63 { get { return LbTxtSecondAlarm63_x; } set { LbTxtSecondAlarm63_x = value; RaisePropertyChanged("LbTxtSecondAlarm63"); } }
        public string LbTxtSecondAlarm64 { get { return LbTxtSecondAlarm64_x; } set { LbTxtSecondAlarm64_x = value; RaisePropertyChanged("LbTxtSecondAlarm64"); } }
        public string LbTxtSecondAlarm65 { get { return LbTxtSecondAlarm65_x; } set { LbTxtSecondAlarm65_x = value; RaisePropertyChanged("LbTxtSecondAlarm65"); } }
        public string LbTxtSecondAlarm66 { get { return LbTxtSecondAlarm66_x; } set { LbTxtSecondAlarm66_x = value; RaisePropertyChanged("LbTxtSecondAlarm66"); } }
        public string LbTxtSecondAlarm67 { get { return LbTxtSecondAlarm67_x; } set { LbTxtSecondAlarm67_x = value; RaisePropertyChanged("LbTxtSecondAlarm67"); } }
        public string LbTxtSecondAlarm68 { get { return LbTxtSecondAlarm68_x; } set { LbTxtSecondAlarm68_x = value; RaisePropertyChanged("LbTxtSecondAlarm68"); } }
        public string LbTxtSecondAlarm69 { get { return LbTxtSecondAlarm69_x; } set { LbTxtSecondAlarm69_x = value; RaisePropertyChanged("LbTxtSecondAlarm69"); } }
        public string LbTxtSecondAlarm70 { get { return LbTxtSecondAlarm70_x; } set { LbTxtSecondAlarm70_x = value; RaisePropertyChanged("LbTxtSecondAlarm70"); } }
        public string LbTxtThirdAlarm1 { get { return LbTxtThirdAlarm1_x; } set { LbTxtThirdAlarm1_x = value; RaisePropertyChanged("LbTxtThirdAlarm1"); } }
        public string LbTxtThirdAlarm2 { get { return LbTxtThirdAlarm2_x; } set { LbTxtThirdAlarm2_x = value; RaisePropertyChanged("LbTxtThirdAlarm2"); } }
        public string LbTxtThirdAlarm3 { get { return LbTxtThirdAlarm3_x; } set { LbTxtThirdAlarm3_x = value; RaisePropertyChanged("LbTxtThirdAlarm3"); } }
        public string LbTxtThirdAlarm4 { get { return LbTxtThirdAlarm4_x; } set { LbTxtThirdAlarm4_x = value; RaisePropertyChanged("LbTxtThirdAlarm4"); } }
        public string LbTxtThirdAlarm5 { get { return LbTxtThirdAlarm5_x; } set { LbTxtThirdAlarm5_x = value; RaisePropertyChanged("LbTxtThirdAlarm5"); } }
        public string LbTxtThirdAlarm6 { get { return LbTxtThirdAlarm6_x; } set { LbTxtThirdAlarm6_x = value; RaisePropertyChanged("LbTxtThirdAlarm6"); } }
        public string LbTxtThirdAlarm7 { get { return LbTxtThirdAlarm7_x; } set { LbTxtThirdAlarm7_x = value; RaisePropertyChanged("LbTxtThirdAlarm7"); } }
        public string LbTxtThirdAlarm8 { get { return LbTxtThirdAlarm8_x; } set { LbTxtThirdAlarm8_x = value; RaisePropertyChanged("LbTxtThirdAlarm8"); } }
        public string LbTxtThirdAlarm9 { get { return LbTxtThirdAlarm9_x; } set { LbTxtThirdAlarm9_x = value; RaisePropertyChanged("LbTxtThirdAlarm9"); } }
        public string LbTxtThirdAlarm10 { get { return LbTxtThirdAlarm10_x; } set { LbTxtThirdAlarm10_x = value; RaisePropertyChanged("LbTxtThirdAlarm10"); } }
        public string LbTxtThirdAlarm11 { get { return LbTxtThirdAlarm11_x; } set { LbTxtThirdAlarm11_x = value; RaisePropertyChanged("LbTxtThirdAlarm11"); } }
        public string LbTxtThirdAlarm12 { get { return LbTxtThirdAlarm12_x; } set { LbTxtThirdAlarm12_x = value; RaisePropertyChanged("LbTxtThirdAlarm12"); } }
        public string LbTxtThirdAlarm13 { get { return LbTxtThirdAlarm13_x; } set { LbTxtThirdAlarm13_x = value; RaisePropertyChanged("LbTxtThirdAlarm13"); } }
        public string LbTxtThirdAlarm14 { get { return LbTxtThirdAlarm14_x; } set { LbTxtThirdAlarm14_x = value; RaisePropertyChanged("LbTxtThirdAlarm14"); } }
        public string LbTxtThirdAlarm15 { get { return LbTxtThirdAlarm15_x; } set { LbTxtThirdAlarm15_x = value; RaisePropertyChanged("LbTxtThirdAlarm15"); } }
        public string LbTxtThirdAlarm16 { get { return LbTxtThirdAlarm16_x; } set { LbTxtThirdAlarm16_x = value; RaisePropertyChanged("LbTxtThirdAlarm16"); } }
        public string LbTxtThirdAlarm17 { get { return LbTxtThirdAlarm17_x; } set { LbTxtThirdAlarm17_x = value; RaisePropertyChanged("LbTxtThirdAlarm17"); } }
        public string LbTxtThirdAlarm18 { get { return LbTxtThirdAlarm18_x; } set { LbTxtThirdAlarm18_x = value; RaisePropertyChanged("LbTxtThirdAlarm18"); } }
        public string LbTxtThirdAlarm19 { get { return LbTxtThirdAlarm19_x; } set { LbTxtThirdAlarm19_x = value; RaisePropertyChanged("LbTxtThirdAlarm19"); } }
        public string LbTxtThirdAlarm20 { get { return LbTxtThirdAlarm20_x; } set { LbTxtThirdAlarm20_x = value; RaisePropertyChanged("LbTxtThirdAlarm20"); } }
        public string LbTxtThirdAlarm21 { get { return LbTxtThirdAlarm21_x; } set { LbTxtThirdAlarm21_x = value; RaisePropertyChanged("LbTxtThirdAlarm21"); } }
        public string LbTxtThirdAlarm22 { get { return LbTxtThirdAlarm22_x; } set { LbTxtThirdAlarm22_x = value; RaisePropertyChanged("LbTxtThirdAlarm22"); } }
        public string LbTxtThirdAlarm23 { get { return LbTxtThirdAlarm23_x; } set { LbTxtThirdAlarm23_x = value; RaisePropertyChanged("LbTxtThirdAlarm23"); } }
        public string LbTxtThirdAlarm24 { get { return LbTxtThirdAlarm24_x; } set { LbTxtThirdAlarm24_x = value; RaisePropertyChanged("LbTxtThirdAlarm24"); } }
        public string LbTxtThirdAlarm25 { get { return LbTxtThirdAlarm25_x; } set { LbTxtThirdAlarm25_x = value; RaisePropertyChanged("LbTxtThirdAlarm25"); } }
        public string LbTxtThirdAlarm26 { get { return LbTxtThirdAlarm26_x; } set { LbTxtThirdAlarm26_x = value; RaisePropertyChanged("LbTxtThirdAlarm26"); } }
        public string LbTxtThirdAlarm27 { get { return LbTxtThirdAlarm27_x; } set { LbTxtThirdAlarm27_x = value; RaisePropertyChanged("LbTxtThirdAlarm27"); } }
        public string LbTxtThirdAlarm28 { get { return LbTxtThirdAlarm28_x; } set { LbTxtThirdAlarm28_x = value; RaisePropertyChanged("LbTxtThirdAlarm28"); } }
        public string LbTxtThirdAlarm29 { get { return LbTxtThirdAlarm29_x; } set { LbTxtThirdAlarm29_x = value; RaisePropertyChanged("LbTxtThirdAlarm29"); } }
        public string LbTxtThirdAlarm30 { get { return LbTxtThirdAlarm30_x; } set { LbTxtThirdAlarm30_x = value; RaisePropertyChanged("LbTxtThirdAlarm30"); } }
        public string LbTxtThirdAlarm31 { get { return LbTxtThirdAlarm31_x; } set { LbTxtThirdAlarm31_x = value; RaisePropertyChanged("LbTxtThirdAlarm31"); } }
        public string LbTxtThirdAlarm32 { get { return LbTxtThirdAlarm32_x; } set { LbTxtThirdAlarm32_x = value; RaisePropertyChanged("LbTxtThirdAlarm32"); } }
        public string LbTxtThirdAlarm33 { get { return LbTxtThirdAlarm33_x; } set { LbTxtThirdAlarm33_x = value; RaisePropertyChanged("LbTxtThirdAlarm33"); } }
        public string LbTxtThirdAlarm34 { get { return LbTxtThirdAlarm34_x; } set { LbTxtThirdAlarm34_x = value; RaisePropertyChanged("LbTxtThirdAlarm34"); } }
        public string LbTxtThirdAlarm35 { get { return LbTxtThirdAlarm35_x; } set { LbTxtThirdAlarm35_x = value; RaisePropertyChanged("LbTxtThirdAlarm35"); } }
        public string LbTxtThirdAlarm36 { get { return LbTxtThirdAlarm36_x; } set { LbTxtThirdAlarm36_x = value; RaisePropertyChanged("LbTxtThirdAlarm36"); } }
        public string LbTxtThirdAlarm37 { get { return LbTxtThirdAlarm37_x; } set { LbTxtThirdAlarm37_x = value; RaisePropertyChanged("LbTxtThirdAlarm37"); } }
        public string LbTxtThirdAlarm38 { get { return LbTxtThirdAlarm38_x; } set { LbTxtThirdAlarm38_x = value; RaisePropertyChanged("LbTxtThirdAlarm38"); } }
        public string LbTxtThirdAlarm39 { get { return LbTxtThirdAlarm39_x; } set { LbTxtThirdAlarm39_x = value; RaisePropertyChanged("LbTxtThirdAlarm39"); } }
        public string LbTxtThirdAlarm40 { get { return LbTxtThirdAlarm40_x; } set { LbTxtThirdAlarm40_x = value; RaisePropertyChanged("LbTxtThirdAlarm40"); } }
        public string LbTxtThirdAlarm41 { get { return LbTxtThirdAlarm41_x; } set { LbTxtThirdAlarm41_x = value; RaisePropertyChanged("LbTxtThirdAlarm41"); } }
        public string LbTxtThirdAlarm42 { get { return LbTxtThirdAlarm42_x; } set { LbTxtThirdAlarm42_x = value; RaisePropertyChanged("LbTxtThirdAlarm42"); } }
        public string LbTxtThirdAlarm43 { get { return LbTxtThirdAlarm43_x; } set { LbTxtThirdAlarm43_x = value; RaisePropertyChanged("LbTxtThirdAlarm43"); } }
        public string LbTxtThirdAlarm44 { get { return LbTxtThirdAlarm44_x; } set { LbTxtThirdAlarm44_x = value; RaisePropertyChanged("LbTxtThirdAlarm44"); } }
        public string LbTxtThirdAlarm45 { get { return LbTxtThirdAlarm45_x; } set { LbTxtThirdAlarm45_x = value; RaisePropertyChanged("LbTxtThirdAlarm45"); } }
        public string LbTxtThirdAlarm46 { get { return LbTxtThirdAlarm46_x; } set { LbTxtThirdAlarm46_x = value; RaisePropertyChanged("LbTxtThirdAlarm46"); } }
        public string LbTxtThirdAlarm47 { get { return LbTxtThirdAlarm47_x; } set { LbTxtThirdAlarm47_x = value; RaisePropertyChanged("LbTxtThirdAlarm47"); } }
        public string LbTxtThirdAlarm48 { get { return LbTxtThirdAlarm48_x; } set { LbTxtThirdAlarm48_x = value; RaisePropertyChanged("LbTxtThirdAlarm48"); } }
        public string LbTxtThirdAlarm49 { get { return LbTxtThirdAlarm49_x; } set { LbTxtThirdAlarm49_x = value; RaisePropertyChanged("LbTxtThirdAlarm49"); } }
        public string LbTxtThirdAlarm50 { get { return LbTxtThirdAlarm50_x; } set { LbTxtThirdAlarm50_x = value; RaisePropertyChanged("LbTxtThirdAlarm50"); } }
        public string LbTxtThirdAlarm51 { get { return LbTxtThirdAlarm51_x; } set { LbTxtThirdAlarm51_x = value; RaisePropertyChanged("LbTxtThirdAlarm51"); } }
        public string LbTxtThirdAlarm52 { get { return LbTxtThirdAlarm52_x; } set { LbTxtThirdAlarm52_x = value; RaisePropertyChanged("LbTxtThirdAlarm52"); } }
        public string LbTxtThirdAlarm53 { get { return LbTxtThirdAlarm53_x; } set { LbTxtThirdAlarm53_x = value; RaisePropertyChanged("LbTxtThirdAlarm53"); } }
        public string LbTxtThirdAlarm54 { get { return LbTxtThirdAlarm54_x; } set { LbTxtThirdAlarm54_x = value; RaisePropertyChanged("LbTxtThirdAlarm54"); } }
        public string LbTxtThirdAlarm55 { get { return LbTxtThirdAlarm55_x; } set { LbTxtThirdAlarm55_x = value; RaisePropertyChanged("LbTxtThirdAlarm55"); } }
        public string LbTxtThirdAlarm56 { get { return LbTxtThirdAlarm56_x; } set { LbTxtThirdAlarm56_x = value; RaisePropertyChanged("LbTxtThirdAlarm56"); } }
        public string LbTxtThirdAlarm57 { get { return LbTxtThirdAlarm57_x; } set { LbTxtThirdAlarm57_x = value; RaisePropertyChanged("LbTxtThirdAlarm57"); } }
        public string LbTxtThirdAlarm58 { get { return LbTxtThirdAlarm58_x; } set { LbTxtThirdAlarm58_x = value; RaisePropertyChanged("LbTxtThirdAlarm58"); } }
        public string LbTxtThirdAlarm59 { get { return LbTxtThirdAlarm59_x; } set { LbTxtThirdAlarm59_x = value; RaisePropertyChanged("LbTxtThirdAlarm59"); } }
        public string LbTxtThirdAlarm60 { get { return LbTxtThirdAlarm60_x; } set { LbTxtThirdAlarm60_x = value; RaisePropertyChanged("LbTxtThirdAlarm60"); } }
        public string LbTxtThirdAlarm61 { get { return LbTxtThirdAlarm61_x; } set { LbTxtThirdAlarm61_x = value; RaisePropertyChanged("LbTxtThirdAlarm61"); } }
        public string LbTxtThirdAlarm62 { get { return LbTxtThirdAlarm62_x; } set { LbTxtThirdAlarm62_x = value; RaisePropertyChanged("LbTxtThirdAlarm62"); } }
        public string LbTxtThirdAlarm63 { get { return LbTxtThirdAlarm63_x; } set { LbTxtThirdAlarm63_x = value; RaisePropertyChanged("LbTxtThirdAlarm63"); } }
        public string LbTxtThirdAlarm64 { get { return LbTxtThirdAlarm64_x; } set { LbTxtThirdAlarm64_x = value; RaisePropertyChanged("LbTxtThirdAlarm64"); } }
        public string LbTxtThirdAlarm65 { get { return LbTxtThirdAlarm65_x; } set { LbTxtThirdAlarm65_x = value; RaisePropertyChanged("LbTxtThirdAlarm65"); } }
        public string LbTxtThirdAlarm66 { get { return LbTxtThirdAlarm66_x; } set { LbTxtThirdAlarm66_x = value; RaisePropertyChanged("LbTxtThirdAlarm66"); } }
        public string LbTxtThirdAlarm67 { get { return LbTxtThirdAlarm67_x; } set { LbTxtThirdAlarm67_x = value; RaisePropertyChanged("LbTxtThirdAlarm67"); } }
        public string LbTxtThirdAlarm68 { get { return LbTxtThirdAlarm68_x; } set { LbTxtThirdAlarm68_x = value; RaisePropertyChanged("LbTxtThirdAlarm68"); } }
        public string LbTxtThirdAlarm69 { get { return LbTxtThirdAlarm69_x; } set { LbTxtThirdAlarm69_x = value; RaisePropertyChanged("LbTxtThirdAlarm69"); } }
        public string LbTxtThirdAlarm70 { get { return LbTxtThirdAlarm70_x; } set { LbTxtThirdAlarm70_x = value; RaisePropertyChanged("LbTxtThirdAlarm70"); } }

        public Brush LbColourFistAlarm1 { get { return LbColourFistAlarm1_x; } set { LbColourFistAlarm1_x = value; RaisePropertyChanged("LbColourFistAlarm1"); } }
        public Brush LbColourFistAlarm2 { get { return LbColourFistAlarm2_x; } set { LbColourFistAlarm2_x = value; RaisePropertyChanged("LbColourFistAlarm2"); } }
        public Brush LbColourFistAlarm3 { get { return LbColourFistAlarm3_x; } set { LbColourFistAlarm3_x = value; RaisePropertyChanged("LbColourFistAlarm3"); } }
        public Brush LbColourFistAlarm4 { get { return LbColourFistAlarm4_x; } set { LbColourFistAlarm4_x = value; RaisePropertyChanged("LbColourFistAlarm4"); } }
        public Brush LbColourFistAlarm5 { get { return LbColourFistAlarm5_x; } set { LbColourFistAlarm5_x = value; RaisePropertyChanged("LbColourFistAlarm5"); } }
        public Brush LbColourFistAlarm6 { get { return LbColourFistAlarm6_x; } set { LbColourFistAlarm6_x = value; RaisePropertyChanged("LbColourFistAlarm6"); } }
        public Brush LbColourFistAlarm7 { get { return LbColourFistAlarm7_x; } set { LbColourFistAlarm7_x = value; RaisePropertyChanged("LbColourFistAlarm7"); } }
        public Brush LbColourFistAlarm8 { get { return LbColourFistAlarm8_x; } set { LbColourFistAlarm8_x = value; RaisePropertyChanged("LbColourFistAlarm8"); } }
        public Brush LbColourFistAlarm9 { get { return LbColourFistAlarm9_x; } set { LbColourFistAlarm9_x = value; RaisePropertyChanged("LbColourFistAlarm9"); } }
        public Brush LbColourFistAlarm10 { get { return LbColourFistAlarm10_x; } set { LbColourFistAlarm10_x = value; RaisePropertyChanged("LbColourFistAlarm10"); } }
        public Brush LbColourFistAlarm11 { get { return LbColourFistAlarm11_x; } set { LbColourFistAlarm11_x = value; RaisePropertyChanged("LbColourFistAlarm11"); } }
        public Brush LbColourFistAlarm12 { get { return LbColourFistAlarm12_x; } set { LbColourFistAlarm12_x = value; RaisePropertyChanged("LbColourFistAlarm12"); } }
        public Brush LbColourFistAlarm13 { get { return LbColourFistAlarm13_x; } set { LbColourFistAlarm13_x = value; RaisePropertyChanged("LbColourFistAlarm13"); } }
        public Brush LbColourFistAlarm14 { get { return LbColourFistAlarm14_x; } set { LbColourFistAlarm14_x = value; RaisePropertyChanged("LbColourFistAlarm14"); } }
        public Brush LbColourFistAlarm15 { get { return LbColourFistAlarm15_x; } set { LbColourFistAlarm15_x = value; RaisePropertyChanged("LbColourFistAlarm15"); } }
        public Brush LbColourFistAlarm16 { get { return LbColourFistAlarm16_x; } set { LbColourFistAlarm16_x = value; RaisePropertyChanged("LbColourFistAlarm16"); } }
        public Brush LbColourFistAlarm17 { get { return LbColourFistAlarm17_x; } set { LbColourFistAlarm17_x = value; RaisePropertyChanged("LbColourFistAlarm17"); } }
        public Brush LbColourFistAlarm18 { get { return LbColourFistAlarm18_x; } set { LbColourFistAlarm18_x = value; RaisePropertyChanged("LbColourFistAlarm18"); } }
        public Brush LbColourFistAlarm19 { get { return LbColourFistAlarm19_x; } set { LbColourFistAlarm19_x = value; RaisePropertyChanged("LbColourFistAlarm19"); } }
        public Brush LbColourFistAlarm20 { get { return LbColourFistAlarm20_x; } set { LbColourFistAlarm20_x = value; RaisePropertyChanged("LbColourFistAlarm20"); } }
        public Brush LbColourFistAlarm21 { get { return LbColourFistAlarm21_x; } set { LbColourFistAlarm21_x = value; RaisePropertyChanged("LbColourFistAlarm21"); } }
        public Brush LbColourFistAlarm22 { get { return LbColourFistAlarm22_x; } set { LbColourFistAlarm22_x = value; RaisePropertyChanged("LbColourFistAlarm22"); } }
        public Brush LbColourFistAlarm23 { get { return LbColourFistAlarm23_x; } set { LbColourFistAlarm23_x = value; RaisePropertyChanged("LbColourFistAlarm23"); } }
        public Brush LbColourFistAlarm24 { get { return LbColourFistAlarm24_x; } set { LbColourFistAlarm24_x = value; RaisePropertyChanged("LbColourFistAlarm24"); } }
        public Brush LbColourFistAlarm25 { get { return LbColourFistAlarm25_x; } set { LbColourFistAlarm25_x = value; RaisePropertyChanged("LbColourFistAlarm25"); } }
        public Brush LbColourFistAlarm26 { get { return LbColourFistAlarm26_x; } set { LbColourFistAlarm26_x = value; RaisePropertyChanged("LbColourFistAlarm26"); } }
        public Brush LbColourFistAlarm27 { get { return LbColourFistAlarm27_x; } set { LbColourFistAlarm27_x = value; RaisePropertyChanged("LbColourFistAlarm27"); } }
        public Brush LbColourFistAlarm28 { get { return LbColourFistAlarm28_x; } set { LbColourFistAlarm28_x = value; RaisePropertyChanged("LbColourFistAlarm28"); } }
        public Brush LbColourFistAlarm29 { get { return LbColourFistAlarm29_x; } set { LbColourFistAlarm29_x = value; RaisePropertyChanged("LbColourFistAlarm29"); } }
        public Brush LbColourFistAlarm30 { get { return LbColourFistAlarm30_x; } set { LbColourFistAlarm30_x = value; RaisePropertyChanged("LbColourFistAlarm30"); } }
        public Brush LbColourFistAlarm31 { get { return LbColourFistAlarm31_x; } set { LbColourFistAlarm31_x = value; RaisePropertyChanged("LbColourFistAlarm31"); } }
        public Brush LbColourFistAlarm32 { get { return LbColourFistAlarm32_x; } set { LbColourFistAlarm32_x = value; RaisePropertyChanged("LbColourFistAlarm32"); } }
        public Brush LbColourFistAlarm33 { get { return LbColourFistAlarm33_x; } set { LbColourFistAlarm33_x = value; RaisePropertyChanged("LbColourFistAlarm33"); } }
        public Brush LbColourFistAlarm34 { get { return LbColourFistAlarm34_x; } set { LbColourFistAlarm34_x = value; RaisePropertyChanged("LbColourFistAlarm34"); } }
        public Brush LbColourFistAlarm35 { get { return LbColourFistAlarm35_x; } set { LbColourFistAlarm35_x = value; RaisePropertyChanged("LbColourFistAlarm35"); } }
        public Brush LbColourFistAlarm36 { get { return LbColourFistAlarm36_x; } set { LbColourFistAlarm36_x = value; RaisePropertyChanged("LbColourFistAlarm36"); } }
        public Brush LbColourFistAlarm37 { get { return LbColourFistAlarm37_x; } set { LbColourFistAlarm37_x = value; RaisePropertyChanged("LbColourFistAlarm37"); } }
        public Brush LbColourFistAlarm38 { get { return LbColourFistAlarm38_x; } set { LbColourFistAlarm38_x = value; RaisePropertyChanged("LbColourFistAlarm38"); } }
        public Brush LbColourFistAlarm39 { get { return LbColourFistAlarm39_x; } set { LbColourFistAlarm39_x = value; RaisePropertyChanged("LbColourFistAlarm39"); } }
        public Brush LbColourFistAlarm40 { get { return LbColourFistAlarm40_x; } set { LbColourFistAlarm40_x = value; RaisePropertyChanged("LbColourFistAlarm40"); } }
        public Brush LbColourFistAlarm41 { get { return LbColourFistAlarm41_x; } set { LbColourFistAlarm41_x = value; RaisePropertyChanged("LbColourFistAlarm41"); } }
        public Brush LbColourFistAlarm42 { get { return LbColourFistAlarm42_x; } set { LbColourFistAlarm42_x = value; RaisePropertyChanged("LbColourFistAlarm42"); } }
        public Brush LbColourFistAlarm43 { get { return LbColourFistAlarm43_x; } set { LbColourFistAlarm43_x = value; RaisePropertyChanged("LbColourFistAlarm43"); } }
        public Brush LbColourFistAlarm44 { get { return LbColourFistAlarm44_x; } set { LbColourFistAlarm44_x = value; RaisePropertyChanged("LbColourFistAlarm44"); } }
        public Brush LbColourFistAlarm45 { get { return LbColourFistAlarm45_x; } set { LbColourFistAlarm45_x = value; RaisePropertyChanged("LbColourFistAlarm45"); } }
        public Brush LbColourFistAlarm46 { get { return LbColourFistAlarm46_x; } set { LbColourFistAlarm46_x = value; RaisePropertyChanged("LbColourFistAlarm46"); } }
        public Brush LbColourFistAlarm47 { get { return LbColourFistAlarm47_x; } set { LbColourFistAlarm47_x = value; RaisePropertyChanged("LbColourFistAlarm47"); } }
        public Brush LbColourFistAlarm48 { get { return LbColourFistAlarm48_x; } set { LbColourFistAlarm48_x = value; RaisePropertyChanged("LbColourFistAlarm48"); } }
        public Brush LbColourFistAlarm49 { get { return LbColourFistAlarm49_x; } set { LbColourFistAlarm49_x = value; RaisePropertyChanged("LbColourFistAlarm49"); } }
        public Brush LbColourFistAlarm50 { get { return LbColourFistAlarm50_x; } set { LbColourFistAlarm50_x = value; RaisePropertyChanged("LbColourFistAlarm50"); } }
        public Brush LbColourFistAlarm51 { get { return LbColourFistAlarm51_x; } set { LbColourFistAlarm51_x = value; RaisePropertyChanged("LbColourFistAlarm51"); } }
        public Brush LbColourFistAlarm52 { get { return LbColourFistAlarm52_x; } set { LbColourFistAlarm52_x = value; RaisePropertyChanged("LbColourFistAlarm52"); } }
        public Brush LbColourFistAlarm53 { get { return LbColourFistAlarm53_x; } set { LbColourFistAlarm53_x = value; RaisePropertyChanged("LbColourFistAlarm53"); } }
        public Brush LbColourFistAlarm54 { get { return LbColourFistAlarm54_x; } set { LbColourFistAlarm54_x = value; RaisePropertyChanged("LbColourFistAlarm54"); } }
        public Brush LbColourFistAlarm55 { get { return LbColourFistAlarm55_x; } set { LbColourFistAlarm55_x = value; RaisePropertyChanged("LbColourFistAlarm55"); } }
        public Brush LbColourFistAlarm56 { get { return LbColourFistAlarm56_x; } set { LbColourFistAlarm56_x = value; RaisePropertyChanged("LbColourFistAlarm56"); } }
        public Brush LbColourFistAlarm57 { get { return LbColourFistAlarm57_x; } set { LbColourFistAlarm57_x = value; RaisePropertyChanged("LbColourFistAlarm57"); } }
        public Brush LbColourFistAlarm58 { get { return LbColourFistAlarm58_x; } set { LbColourFistAlarm58_x = value; RaisePropertyChanged("LbColourFistAlarm58"); } }
        public Brush LbColourFistAlarm59 { get { return LbColourFistAlarm59_x; } set { LbColourFistAlarm59_x = value; RaisePropertyChanged("LbColourFistAlarm59"); } }
        public Brush LbColourFistAlarm60 { get { return LbColourFistAlarm60_x; } set { LbColourFistAlarm60_x = value; RaisePropertyChanged("LbColourFistAlarm60"); } }
        public Brush LbColourFistAlarm61 { get { return LbColourFistAlarm61_x; } set { LbColourFistAlarm61_x = value; RaisePropertyChanged("LbColourFistAlarm61"); } }
        public Brush LbColourFistAlarm62 { get { return LbColourFistAlarm62_x; } set { LbColourFistAlarm62_x = value; RaisePropertyChanged("LbColourFistAlarm62"); } }
        public Brush LbColourFistAlarm63 { get { return LbColourFistAlarm63_x; } set { LbColourFistAlarm63_x = value; RaisePropertyChanged("LbColourFistAlarm63"); } }
        public Brush LbColourFistAlarm64 { get { return LbColourFistAlarm64_x; } set { LbColourFistAlarm64_x = value; RaisePropertyChanged("LbColourFistAlarm64"); } }
        public Brush LbColourFistAlarm65 { get { return LbColourFistAlarm65_x; } set { LbColourFistAlarm65_x = value; RaisePropertyChanged("LbColourFistAlarm65"); } }
        public Brush LbColourFistAlarm66 { get { return LbColourFistAlarm66_x; } set { LbColourFistAlarm66_x = value; RaisePropertyChanged("LbColourFistAlarm66"); } }
        public Brush LbColourFistAlarm67 { get { return LbColourFistAlarm67_x; } set { LbColourFistAlarm67_x = value; RaisePropertyChanged("LbColourFistAlarm67"); } }
        public Brush LbColourFistAlarm68 { get { return LbColourFistAlarm68_x; } set { LbColourFistAlarm68_x = value; RaisePropertyChanged("LbColourFistAlarm68"); } }
        public Brush LbColourFistAlarm69 { get { return LbColourFistAlarm69_x; } set { LbColourFistAlarm69_x = value; RaisePropertyChanged("LbColourFistAlarm69"); } }
        public Brush LbColourFistAlarm70 { get { return LbColourFistAlarm70_x; } set { LbColourFistAlarm70_x = value; RaisePropertyChanged("LbColourFistAlarm70"); } }
        public Brush LbColourSecondAlarm1 { get { return LbColourSecondAlarm1_x; } set { LbColourSecondAlarm1_x = value; RaisePropertyChanged("LbColourSecondAlarm1"); } }
        public Brush LbColourSecondAlarm2 { get { return LbColourSecondAlarm2_x; } set { LbColourSecondAlarm2_x = value; RaisePropertyChanged("LbColourSecondAlarm2"); } }
        public Brush LbColourSecondAlarm3 { get { return LbColourSecondAlarm3_x; } set { LbColourSecondAlarm3_x = value; RaisePropertyChanged("LbColourSecondAlarm3"); } }
        public Brush LbColourSecondAlarm4 { get { return LbColourSecondAlarm4_x; } set { LbColourSecondAlarm4_x = value; RaisePropertyChanged("LbColourSecondAlarm4"); } }
        public Brush LbColourSecondAlarm5 { get { return LbColourSecondAlarm5_x; } set { LbColourSecondAlarm5_x = value; RaisePropertyChanged("LbColourSecondAlarm5"); } }
        public Brush LbColourSecondAlarm6 { get { return LbColourSecondAlarm6_x; } set { LbColourSecondAlarm6_x = value; RaisePropertyChanged("LbColourSecondAlarm6"); } }
        public Brush LbColourSecondAlarm7 { get { return LbColourSecondAlarm7_x; } set { LbColourSecondAlarm7_x = value; RaisePropertyChanged("LbColourSecondAlarm7"); } }
        public Brush LbColourSecondAlarm8 { get { return LbColourSecondAlarm8_x; } set { LbColourSecondAlarm8_x = value; RaisePropertyChanged("LbColourSecondAlarm8"); } }
        public Brush LbColourSecondAlarm9 { get { return LbColourSecondAlarm9_x; } set { LbColourSecondAlarm9_x = value; RaisePropertyChanged("LbColourSecondAlarm9"); } }
        public Brush LbColourSecondAlarm10 { get { return LbColourSecondAlarm10_x; } set { LbColourSecondAlarm10_x = value; RaisePropertyChanged("LbColourSecondAlarm10"); } }
        public Brush LbColourSecondAlarm11 { get { return LbColourSecondAlarm11_x; } set { LbColourSecondAlarm11_x = value; RaisePropertyChanged("LbColourSecondAlarm11"); } }
        public Brush LbColourSecondAlarm12 { get { return LbColourSecondAlarm12_x; } set { LbColourSecondAlarm12_x = value; RaisePropertyChanged("LbColourSecondAlarm12"); } }
        public Brush LbColourSecondAlarm13 { get { return LbColourSecondAlarm13_x; } set { LbColourSecondAlarm13_x = value; RaisePropertyChanged("LbColourSecondAlarm13"); } }
        public Brush LbColourSecondAlarm14 { get { return LbColourSecondAlarm14_x; } set { LbColourSecondAlarm14_x = value; RaisePropertyChanged("LbColourSecondAlarm14"); } }
        public Brush LbColourSecondAlarm15 { get { return LbColourSecondAlarm15_x; } set { LbColourSecondAlarm15_x = value; RaisePropertyChanged("LbColourSecondAlarm15"); } }
        public Brush LbColourSecondAlarm16 { get { return LbColourSecondAlarm16_x; } set { LbColourSecondAlarm16_x = value; RaisePropertyChanged("LbColourSecondAlarm16"); } }
        public Brush LbColourSecondAlarm17 { get { return LbColourSecondAlarm17_x; } set { LbColourSecondAlarm17_x = value; RaisePropertyChanged("LbColourSecondAlarm17"); } }
        public Brush LbColourSecondAlarm18 { get { return LbColourSecondAlarm18_x; } set { LbColourSecondAlarm18_x = value; RaisePropertyChanged("LbColourSecondAlarm18"); } }
        public Brush LbColourSecondAlarm19 { get { return LbColourSecondAlarm19_x; } set { LbColourSecondAlarm19_x = value; RaisePropertyChanged("LbColourSecondAlarm19"); } }
        public Brush LbColourSecondAlarm20 { get { return LbColourSecondAlarm20_x; } set { LbColourSecondAlarm20_x = value; RaisePropertyChanged("LbColourSecondAlarm20"); } }
        public Brush LbColourSecondAlarm21 { get { return LbColourSecondAlarm21_x; } set { LbColourSecondAlarm21_x = value; RaisePropertyChanged("LbColourSecondAlarm21"); } }
        public Brush LbColourSecondAlarm22 { get { return LbColourSecondAlarm22_x; } set { LbColourSecondAlarm22_x = value; RaisePropertyChanged("LbColourSecondAlarm22"); } }
        public Brush LbColourSecondAlarm23 { get { return LbColourSecondAlarm23_x; } set { LbColourSecondAlarm23_x = value; RaisePropertyChanged("LbColourSecondAlarm23"); } }
        public Brush LbColourSecondAlarm24 { get { return LbColourSecondAlarm24_x; } set { LbColourSecondAlarm24_x = value; RaisePropertyChanged("LbColourSecondAlarm24"); } }
        public Brush LbColourSecondAlarm25 { get { return LbColourSecondAlarm25_x; } set { LbColourSecondAlarm25_x = value; RaisePropertyChanged("LbColourSecondAlarm25"); } }
        public Brush LbColourSecondAlarm26 { get { return LbColourSecondAlarm26_x; } set { LbColourSecondAlarm26_x = value; RaisePropertyChanged("LbColourSecondAlarm26"); } }
        public Brush LbColourSecondAlarm27 { get { return LbColourSecondAlarm27_x; } set { LbColourSecondAlarm27_x = value; RaisePropertyChanged("LbColourSecondAlarm27"); } }
        public Brush LbColourSecondAlarm28 { get { return LbColourSecondAlarm28_x; } set { LbColourSecondAlarm28_x = value; RaisePropertyChanged("LbColourSecondAlarm28"); } }
        public Brush LbColourSecondAlarm29 { get { return LbColourSecondAlarm29_x; } set { LbColourSecondAlarm29_x = value; RaisePropertyChanged("LbColourSecondAlarm29"); } }
        public Brush LbColourSecondAlarm30 { get { return LbColourSecondAlarm30_x; } set { LbColourSecondAlarm30_x = value; RaisePropertyChanged("LbColourSecondAlarm30"); } }
        public Brush LbColourSecondAlarm31 { get { return LbColourSecondAlarm31_x; } set { LbColourSecondAlarm31_x = value; RaisePropertyChanged("LbColourSecondAlarm31"); } }
        public Brush LbColourSecondAlarm32 { get { return LbColourSecondAlarm32_x; } set { LbColourSecondAlarm32_x = value; RaisePropertyChanged("LbColourSecondAlarm32"); } }
        public Brush LbColourSecondAlarm33 { get { return LbColourSecondAlarm33_x; } set { LbColourSecondAlarm33_x = value; RaisePropertyChanged("LbColourSecondAlarm33"); } }
        public Brush LbColourSecondAlarm34 { get { return LbColourSecondAlarm34_x; } set { LbColourSecondAlarm34_x = value; RaisePropertyChanged("LbColourSecondAlarm34"); } }
        public Brush LbColourSecondAlarm35 { get { return LbColourSecondAlarm35_x; } set { LbColourSecondAlarm35_x = value; RaisePropertyChanged("LbColourSecondAlarm35"); } }
        public Brush LbColourSecondAlarm36 { get { return LbColourSecondAlarm36_x; } set { LbColourSecondAlarm36_x = value; RaisePropertyChanged("LbColourSecondAlarm36"); } }
        public Brush LbColourSecondAlarm37 { get { return LbColourSecondAlarm37_x; } set { LbColourSecondAlarm37_x = value; RaisePropertyChanged("LbColourSecondAlarm37"); } }
        public Brush LbColourSecondAlarm38 { get { return LbColourSecondAlarm38_x; } set { LbColourSecondAlarm38_x = value; RaisePropertyChanged("LbColourSecondAlarm38"); } }
        public Brush LbColourSecondAlarm39 { get { return LbColourSecondAlarm39_x; } set { LbColourSecondAlarm39_x = value; RaisePropertyChanged("LbColourSecondAlarm39"); } }
        public Brush LbColourSecondAlarm40 { get { return LbColourSecondAlarm40_x; } set { LbColourSecondAlarm40_x = value; RaisePropertyChanged("LbColourSecondAlarm40"); } }
        public Brush LbColourSecondAlarm41 { get { return LbColourSecondAlarm41_x; } set { LbColourSecondAlarm41_x = value; RaisePropertyChanged("LbColourSecondAlarm41"); } }
        public Brush LbColourSecondAlarm42 { get { return LbColourSecondAlarm42_x; } set { LbColourSecondAlarm42_x = value; RaisePropertyChanged("LbColourSecondAlarm42"); } }
        public Brush LbColourSecondAlarm43 { get { return LbColourSecondAlarm43_x; } set { LbColourSecondAlarm43_x = value; RaisePropertyChanged("LbColourSecondAlarm43"); } }
        public Brush LbColourSecondAlarm44 { get { return LbColourSecondAlarm44_x; } set { LbColourSecondAlarm44_x = value; RaisePropertyChanged("LbColourSecondAlarm44"); } }
        public Brush LbColourSecondAlarm45 { get { return LbColourSecondAlarm45_x; } set { LbColourSecondAlarm45_x = value; RaisePropertyChanged("LbColourSecondAlarm45"); } }
        public Brush LbColourSecondAlarm46 { get { return LbColourSecondAlarm46_x; } set { LbColourSecondAlarm46_x = value; RaisePropertyChanged("LbColourSecondAlarm46"); } }
        public Brush LbColourSecondAlarm47 { get { return LbColourSecondAlarm47_x; } set { LbColourSecondAlarm47_x = value; RaisePropertyChanged("LbColourSecondAlarm47"); } }
        public Brush LbColourSecondAlarm48 { get { return LbColourSecondAlarm48_x; } set { LbColourSecondAlarm48_x = value; RaisePropertyChanged("LbColourSecondAlarm48"); } }
        public Brush LbColourSecondAlarm49 { get { return LbColourSecondAlarm49_x; } set { LbColourSecondAlarm49_x = value; RaisePropertyChanged("LbColourSecondAlarm49"); } }
        public Brush LbColourSecondAlarm50 { get { return LbColourSecondAlarm50_x; } set { LbColourSecondAlarm50_x = value; RaisePropertyChanged("LbColourSecondAlarm50"); } }
        public Brush LbColourSecondAlarm51 { get { return LbColourSecondAlarm51_x; } set { LbColourSecondAlarm51_x = value; RaisePropertyChanged("LbColourSecondAlarm51"); } }
        public Brush LbColourSecondAlarm52 { get { return LbColourSecondAlarm52_x; } set { LbColourSecondAlarm52_x = value; RaisePropertyChanged("LbColourSecondAlarm52"); } }
        public Brush LbColourSecondAlarm53 { get { return LbColourSecondAlarm53_x; } set { LbColourSecondAlarm53_x = value; RaisePropertyChanged("LbColourSecondAlarm53"); } }
        public Brush LbColourSecondAlarm54 { get { return LbColourSecondAlarm54_x; } set { LbColourSecondAlarm54_x = value; RaisePropertyChanged("LbColourSecondAlarm54"); } }
        public Brush LbColourSecondAlarm55 { get { return LbColourSecondAlarm55_x; } set { LbColourSecondAlarm55_x = value; RaisePropertyChanged("LbColourSecondAlarm55"); } }
        public Brush LbColourSecondAlarm56 { get { return LbColourSecondAlarm56_x; } set { LbColourSecondAlarm56_x = value; RaisePropertyChanged("LbColourSecondAlarm56"); } }
        public Brush LbColourSecondAlarm57 { get { return LbColourSecondAlarm57_x; } set { LbColourSecondAlarm57_x = value; RaisePropertyChanged("LbColourSecondAlarm57"); } }
        public Brush LbColourSecondAlarm58 { get { return LbColourSecondAlarm58_x; } set { LbColourSecondAlarm58_x = value; RaisePropertyChanged("LbColourSecondAlarm58"); } }
        public Brush LbColourSecondAlarm59 { get { return LbColourSecondAlarm59_x; } set { LbColourSecondAlarm59_x = value; RaisePropertyChanged("LbColourSecondAlarm59"); } }
        public Brush LbColourSecondAlarm60 { get { return LbColourSecondAlarm60_x; } set { LbColourSecondAlarm60_x = value; RaisePropertyChanged("LbColourSecondAlarm60"); } }
        public Brush LbColourSecondAlarm61 { get { return LbColourSecondAlarm61_x; } set { LbColourSecondAlarm61_x = value; RaisePropertyChanged("LbColourSecondAlarm61"); } }
        public Brush LbColourSecondAlarm62 { get { return LbColourSecondAlarm62_x; } set { LbColourSecondAlarm62_x = value; RaisePropertyChanged("LbColourSecondAlarm62"); } }
        public Brush LbColourSecondAlarm63 { get { return LbColourSecondAlarm63_x; } set { LbColourSecondAlarm63_x = value; RaisePropertyChanged("LbColourSecondAlarm63"); } }
        public Brush LbColourSecondAlarm64 { get { return LbColourSecondAlarm64_x; } set { LbColourSecondAlarm64_x = value; RaisePropertyChanged("LbColourSecondAlarm64"); } }
        public Brush LbColourSecondAlarm65 { get { return LbColourSecondAlarm65_x; } set { LbColourSecondAlarm65_x = value; RaisePropertyChanged("LbColourSecondAlarm65"); } }
        public Brush LbColourSecondAlarm66 { get { return LbColourSecondAlarm66_x; } set { LbColourSecondAlarm66_x = value; RaisePropertyChanged("LbColourSecondAlarm66"); } }
        public Brush LbColourSecondAlarm67 { get { return LbColourSecondAlarm67_x; } set { LbColourSecondAlarm67_x = value; RaisePropertyChanged("LbColourSecondAlarm67"); } }
        public Brush LbColourSecondAlarm68 { get { return LbColourSecondAlarm68_x; } set { LbColourSecondAlarm68_x = value; RaisePropertyChanged("LbColourSecondAlarm68"); } }
        public Brush LbColourSecondAlarm69 { get { return LbColourSecondAlarm69_x; } set { LbColourSecondAlarm69_x = value; RaisePropertyChanged("LbColourSecondAlarm69"); } }
        public Brush LbColourSecondAlarm70 { get { return LbColourSecondAlarm70_x; } set { LbColourSecondAlarm70_x = value; RaisePropertyChanged("LbColourSecondAlarm70"); } }
        public Brush LbColourThirdAlarm1 { get { return LbColourThirdAlarm1_x; } set { LbColourThirdAlarm1_x = value; RaisePropertyChanged("LbColourThirdAlarm1"); } }
        public Brush LbColourThirdAlarm2 { get { return LbColourThirdAlarm2_x; } set { LbColourThirdAlarm2_x = value; RaisePropertyChanged("LbColourThirdAlarm2"); } }
        public Brush LbColourThirdAlarm3 { get { return LbColourThirdAlarm3_x; } set { LbColourThirdAlarm3_x = value; RaisePropertyChanged("LbColourThirdAlarm3"); } }
        public Brush LbColourThirdAlarm4 { get { return LbColourThirdAlarm4_x; } set { LbColourThirdAlarm4_x = value; RaisePropertyChanged("LbColourThirdAlarm4"); } }
        public Brush LbColourThirdAlarm5 { get { return LbColourThirdAlarm5_x; } set { LbColourThirdAlarm5_x = value; RaisePropertyChanged("LbColourThirdAlarm5"); } }
        public Brush LbColourThirdAlarm6 { get { return LbColourThirdAlarm6_x; } set { LbColourThirdAlarm6_x = value; RaisePropertyChanged("LbColourThirdAlarm6"); } }
        public Brush LbColourThirdAlarm7 { get { return LbColourThirdAlarm7_x; } set { LbColourThirdAlarm7_x = value; RaisePropertyChanged("LbColourThirdAlarm7"); } }
        public Brush LbColourThirdAlarm8 { get { return LbColourThirdAlarm8_x; } set { LbColourThirdAlarm8_x = value; RaisePropertyChanged("LbColourThirdAlarm8"); } }
        public Brush LbColourThirdAlarm9 { get { return LbColourThirdAlarm9_x; } set { LbColourThirdAlarm9_x = value; RaisePropertyChanged("LbColourThirdAlarm9"); } }
        public Brush LbColourThirdAlarm10 { get { return LbColourThirdAlarm10_x; } set { LbColourThirdAlarm10_x = value; RaisePropertyChanged("LbColourThirdAlarm10"); } }
        public Brush LbColourThirdAlarm11 { get { return LbColourThirdAlarm11_x; } set { LbColourThirdAlarm11_x = value; RaisePropertyChanged("LbColourThirdAlarm11"); } }
        public Brush LbColourThirdAlarm12 { get { return LbColourThirdAlarm12_x; } set { LbColourThirdAlarm12_x = value; RaisePropertyChanged("LbColourThirdAlarm12"); } }
        public Brush LbColourThirdAlarm13 { get { return LbColourThirdAlarm13_x; } set { LbColourThirdAlarm13_x = value; RaisePropertyChanged("LbColourThirdAlarm13"); } }
        public Brush LbColourThirdAlarm14 { get { return LbColourThirdAlarm14_x; } set { LbColourThirdAlarm14_x = value; RaisePropertyChanged("LbColourThirdAlarm14"); } }
        public Brush LbColourThirdAlarm15 { get { return LbColourThirdAlarm15_x; } set { LbColourThirdAlarm15_x = value; RaisePropertyChanged("LbColourThirdAlarm15"); } }
        public Brush LbColourThirdAlarm16 { get { return LbColourThirdAlarm16_x; } set { LbColourThirdAlarm16_x = value; RaisePropertyChanged("LbColourThirdAlarm16"); } }
        public Brush LbColourThirdAlarm17 { get { return LbColourThirdAlarm17_x; } set { LbColourThirdAlarm17_x = value; RaisePropertyChanged("LbColourThirdAlarm17"); } }
        public Brush LbColourThirdAlarm18 { get { return LbColourThirdAlarm18_x; } set { LbColourThirdAlarm18_x = value; RaisePropertyChanged("LbColourThirdAlarm18"); } }
        public Brush LbColourThirdAlarm19 { get { return LbColourThirdAlarm19_x; } set { LbColourThirdAlarm19_x = value; RaisePropertyChanged("LbColourThirdAlarm19"); } }
        public Brush LbColourThirdAlarm20 { get { return LbColourThirdAlarm20_x; } set { LbColourThirdAlarm20_x = value; RaisePropertyChanged("LbColourThirdAlarm20"); } }
        public Brush LbColourThirdAlarm21 { get { return LbColourThirdAlarm21_x; } set { LbColourThirdAlarm21_x = value; RaisePropertyChanged("LbColourThirdAlarm21"); } }
        public Brush LbColourThirdAlarm22 { get { return LbColourThirdAlarm22_x; } set { LbColourThirdAlarm22_x = value; RaisePropertyChanged("LbColourThirdAlarm22"); } }
        public Brush LbColourThirdAlarm23 { get { return LbColourThirdAlarm23_x; } set { LbColourThirdAlarm23_x = value; RaisePropertyChanged("LbColourThirdAlarm23"); } }
        public Brush LbColourThirdAlarm24 { get { return LbColourThirdAlarm24_x; } set { LbColourThirdAlarm24_x = value; RaisePropertyChanged("LbColourThirdAlarm24"); } }
        public Brush LbColourThirdAlarm25 { get { return LbColourThirdAlarm25_x; } set { LbColourThirdAlarm25_x = value; RaisePropertyChanged("LbColourThirdAlarm25"); } }
        public Brush LbColourThirdAlarm26 { get { return LbColourThirdAlarm26_x; } set { LbColourThirdAlarm26_x = value; RaisePropertyChanged("LbColourThirdAlarm26"); } }
        public Brush LbColourThirdAlarm27 { get { return LbColourThirdAlarm27_x; } set { LbColourThirdAlarm27_x = value; RaisePropertyChanged("LbColourThirdAlarm27"); } }
        public Brush LbColourThirdAlarm28 { get { return LbColourThirdAlarm28_x; } set { LbColourThirdAlarm28_x = value; RaisePropertyChanged("LbColourThirdAlarm28"); } }
        public Brush LbColourThirdAlarm29 { get { return LbColourThirdAlarm29_x; } set { LbColourThirdAlarm29_x = value; RaisePropertyChanged("LbColourThirdAlarm29"); } }
        public Brush LbColourThirdAlarm30 { get { return LbColourThirdAlarm30_x; } set { LbColourThirdAlarm30_x = value; RaisePropertyChanged("LbColourThirdAlarm30"); } }
        public Brush LbColourThirdAlarm31 { get { return LbColourThirdAlarm31_x; } set { LbColourThirdAlarm31_x = value; RaisePropertyChanged("LbColourThirdAlarm31"); } }
        public Brush LbColourThirdAlarm32 { get { return LbColourThirdAlarm32_x; } set { LbColourThirdAlarm32_x = value; RaisePropertyChanged("LbColourThirdAlarm32"); } }
        public Brush LbColourThirdAlarm33 { get { return LbColourThirdAlarm33_x; } set { LbColourThirdAlarm33_x = value; RaisePropertyChanged("LbColourThirdAlarm33"); } }
        public Brush LbColourThirdAlarm34 { get { return LbColourThirdAlarm34_x; } set { LbColourThirdAlarm34_x = value; RaisePropertyChanged("LbColourThirdAlarm34"); } }
        public Brush LbColourThirdAlarm35 { get { return LbColourThirdAlarm35_x; } set { LbColourThirdAlarm35_x = value; RaisePropertyChanged("LbColourThirdAlarm35"); } }
        public Brush LbColourThirdAlarm36 { get { return LbColourThirdAlarm36_x; } set { LbColourThirdAlarm36_x = value; RaisePropertyChanged("LbColourThirdAlarm36"); } }
        public Brush LbColourThirdAlarm37 { get { return LbColourThirdAlarm37_x; } set { LbColourThirdAlarm37_x = value; RaisePropertyChanged("LbColourThirdAlarm37"); } }
        public Brush LbColourThirdAlarm38 { get { return LbColourThirdAlarm38_x; } set { LbColourThirdAlarm38_x = value; RaisePropertyChanged("LbColourThirdAlarm38"); } }
        public Brush LbColourThirdAlarm39 { get { return LbColourThirdAlarm39_x; } set { LbColourThirdAlarm39_x = value; RaisePropertyChanged("LbColourThirdAlarm39"); } }
        public Brush LbColourThirdAlarm40 { get { return LbColourThirdAlarm40_x; } set { LbColourThirdAlarm40_x = value; RaisePropertyChanged("LbColourThirdAlarm40"); } }
        public Brush LbColourThirdAlarm41 { get { return LbColourThirdAlarm41_x; } set { LbColourThirdAlarm41_x = value; RaisePropertyChanged("LbColourThirdAlarm41"); } }
        public Brush LbColourThirdAlarm42 { get { return LbColourThirdAlarm42_x; } set { LbColourThirdAlarm42_x = value; RaisePropertyChanged("LbColourThirdAlarm42"); } }
        public Brush LbColourThirdAlarm43 { get { return LbColourThirdAlarm43_x; } set { LbColourThirdAlarm43_x = value; RaisePropertyChanged("LbColourThirdAlarm43"); } }
        public Brush LbColourThirdAlarm44 { get { return LbColourThirdAlarm44_x; } set { LbColourThirdAlarm44_x = value; RaisePropertyChanged("LbColourThirdAlarm44"); } }
        public Brush LbColourThirdAlarm45 { get { return LbColourThirdAlarm45_x; } set { LbColourThirdAlarm45_x = value; RaisePropertyChanged("LbColourThirdAlarm45"); } }
        public Brush LbColourThirdAlarm46 { get { return LbColourThirdAlarm46_x; } set { LbColourThirdAlarm46_x = value; RaisePropertyChanged("LbColourThirdAlarm46"); } }
        public Brush LbColourThirdAlarm47 { get { return LbColourThirdAlarm47_x; } set { LbColourThirdAlarm47_x = value; RaisePropertyChanged("LbColourThirdAlarm47"); } }
        public Brush LbColourThirdAlarm48 { get { return LbColourThirdAlarm48_x; } set { LbColourThirdAlarm48_x = value; RaisePropertyChanged("LbColourThirdAlarm48"); } }
        public Brush LbColourThirdAlarm49 { get { return LbColourThirdAlarm49_x; } set { LbColourThirdAlarm49_x = value; RaisePropertyChanged("LbColourThirdAlarm49"); } }
        public Brush LbColourThirdAlarm50 { get { return LbColourThirdAlarm50_x; } set { LbColourThirdAlarm50_x = value; RaisePropertyChanged("LbColourThirdAlarm50"); } }
        public Brush LbColourThirdAlarm51 { get { return LbColourThirdAlarm51_x; } set { LbColourThirdAlarm51_x = value; RaisePropertyChanged("LbColourThirdAlarm51"); } }
        public Brush LbColourThirdAlarm52 { get { return LbColourThirdAlarm52_x; } set { LbColourThirdAlarm52_x = value; RaisePropertyChanged("LbColourThirdAlarm52"); } }
        public Brush LbColourThirdAlarm53 { get { return LbColourThirdAlarm53_x; } set { LbColourThirdAlarm53_x = value; RaisePropertyChanged("LbColourThirdAlarm53"); } }
        public Brush LbColourThirdAlarm54 { get { return LbColourThirdAlarm54_x; } set { LbColourThirdAlarm54_x = value; RaisePropertyChanged("LbColourThirdAlarm54"); } }
        public Brush LbColourThirdAlarm55 { get { return LbColourThirdAlarm55_x; } set { LbColourThirdAlarm55_x = value; RaisePropertyChanged("LbColourThirdAlarm55"); } }
        public Brush LbColourThirdAlarm56 { get { return LbColourThirdAlarm56_x; } set { LbColourThirdAlarm56_x = value; RaisePropertyChanged("LbColourThirdAlarm56"); } }
        public Brush LbColourThirdAlarm57 { get { return LbColourThirdAlarm57_x; } set { LbColourThirdAlarm57_x = value; RaisePropertyChanged("LbColourThirdAlarm57"); } }
        public Brush LbColourThirdAlarm58 { get { return LbColourThirdAlarm58_x; } set { LbColourThirdAlarm58_x = value; RaisePropertyChanged("LbColourThirdAlarm58"); } }
        public Brush LbColourThirdAlarm59 { get { return LbColourThirdAlarm59_x; } set { LbColourThirdAlarm59_x = value; RaisePropertyChanged("LbColourThirdAlarm59"); } }
        public Brush LbColourThirdAlarm60 { get { return LbColourThirdAlarm60_x; } set { LbColourThirdAlarm60_x = value; RaisePropertyChanged("LbColourThirdAlarm60"); } }
        public Brush LbColourThirdAlarm61 { get { return LbColourThirdAlarm61_x; } set { LbColourThirdAlarm61_x = value; RaisePropertyChanged("LbColourThirdAlarm61"); } }
        public Brush LbColourThirdAlarm62 { get { return LbColourThirdAlarm62_x; } set { LbColourThirdAlarm62_x = value; RaisePropertyChanged("LbColourThirdAlarm62"); } }
        public Brush LbColourThirdAlarm63 { get { return LbColourThirdAlarm63_x; } set { LbColourThirdAlarm63_x = value; RaisePropertyChanged("LbColourThirdAlarm63"); } }
        public Brush LbColourThirdAlarm64 { get { return LbColourThirdAlarm64_x; } set { LbColourThirdAlarm64_x = value; RaisePropertyChanged("LbColourThirdAlarm64"); } }
        public Brush LbColourThirdAlarm65 { get { return LbColourThirdAlarm65_x; } set { LbColourThirdAlarm65_x = value; RaisePropertyChanged("LbColourThirdAlarm65"); } }
        public Brush LbColourThirdAlarm66 { get { return LbColourThirdAlarm66_x; } set { LbColourThirdAlarm66_x = value; RaisePropertyChanged("LbColourThirdAlarm66"); } }
        public Brush LbColourThirdAlarm67 { get { return LbColourThirdAlarm67_x; } set { LbColourThirdAlarm67_x = value; RaisePropertyChanged("LbColourThirdAlarm67"); } }
        public Brush LbColourThirdAlarm68 { get { return LbColourThirdAlarm68_x; } set { LbColourThirdAlarm68_x = value; RaisePropertyChanged("LbColourThirdAlarm68"); } }
        public Brush LbColourThirdAlarm69 { get { return LbColourThirdAlarm69_x; } set { LbColourThirdAlarm69_x = value; RaisePropertyChanged("LbColourThirdAlarm69"); } }
        public Brush LbColourThirdAlarm70 { get { return LbColourThirdAlarm70_x; } set { LbColourThirdAlarm70_x = value; RaisePropertyChanged("LbColourThirdAlarm70"); } }

        Dictionary<int, AlModel> AllCon = new Dictionary<int, AlModel>();
        public void SyncThreadFunc()
        {
            try
            {
               
           

                ConsumerConfig config = new ConsumerConfig();
                config.BootstrapServers = "192.168.62.174.11:9092";
                config.GroupId = "group.1";
                config.AutoOffsetReset = AutoOffsetReset.Earliest;
                config.EnableAutoCommit = false;

                var builder = new ConsumerBuilder<string, object>(config);
                builder.SetValueDeserializer(new KafkaConverter());//设置反序列化方式
                var consumer = builder.Build();
                consumer.Assign(new TopicPartition("WriteTag", new Partition(0)));//从指定的Partition订阅消息使用Assign方法
                while (true)
                {
                    Thread.Sleep(500);
                    var result = consumer.Consume(1000);
                    if (result != null)
                    {
                        TagValueModel tagValueModel = JsonConvert.DeserializeObject<TagValueModel>(result.Message.Value.ToString());
                        // 手动提交
                        consumer.Commit(result);
                        AlModel cu = new AlModel();
                        AllCon.TryGetValue(tagValueModel.Id, out cu);
                        if (cu != null) {
                            if (tagValueModel.Value == 1)
                            {
                                cu.Color = Brushes.Red;
                            }
                            else
                            {
                                cu.Color = Brushes.Black;
                            }
                        }
                       
                        
                    }
              
                }
            }
            catch (Exception ex)
            {
                AddErrorLog(ex);
            }
        }

        private void AddErrorLog(Exception ex)
        {
            throw new NotImplementedException();
        }
    }
}
